aboutsummaryrefslogtreecommitdiff
path: root/go/packages
diff options
context:
space:
mode:
authorRebecca Stambler <rstambler@golang.org>2021-01-05 23:05:35 -0500
committerDmitri Shuralyov <dmitshur@golang.org>2021-01-06 17:23:47 +0000
commit92778473c2e66cce9cca86de3a98d22b1c550dea (patch)
tree292b4b3e7f79af33b71fa2ed9cf77de43a15f5b3 /go/packages
parent5d65579003f9fd38ad956048e35a9e8f51467152 (diff)
downloadgolang-x-tools-92778473c2e66cce9cca86de3a98d22b1c550dea.tar.gz
all: add copyright notices to files that are missing them
This was generated using this script: https://play.golang.org/p/Nbo3qsk1ADH. Change-Id: I94ab794b0874ad74a09bba5b3bb29d2c487a491b Reviewed-on: https://go-review.googlesource.com/c/tools/+/281853 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'go/packages')
-rw-r--r--go/packages/example_test.go4
-rw-r--r--go/packages/overlay_test.go4
-rw-r--r--go/packages/packagestest/modules_111.go4
-rw-r--r--go/packages/visit.go4
4 files changed, 16 insertions, 0 deletions
diff --git a/go/packages/example_test.go b/go/packages/example_test.go
index 94cf8eb0c..9e0e58fa3 100644
--- a/go/packages/example_test.go
+++ b/go/packages/example_test.go
@@ -1,3 +1,7 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package packages_test
import (
diff --git a/go/packages/overlay_test.go b/go/packages/overlay_test.go
index 8ce5a7c4c..97193cfd5 100644
--- a/go/packages/overlay_test.go
+++ b/go/packages/overlay_test.go
@@ -1,3 +1,7 @@
+// Copyright 2020 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package packages_test
import (
diff --git a/go/packages/packagestest/modules_111.go b/go/packages/packagestest/modules_111.go
index a116ae217..61fa96983 100644
--- a/go/packages/packagestest/modules_111.go
+++ b/go/packages/packagestest/modules_111.go
@@ -1,3 +1,7 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build go1.11
package packagestest
diff --git a/go/packages/visit.go b/go/packages/visit.go
index b13cb081f..a1dcc40b7 100644
--- a/go/packages/visit.go
+++ b/go/packages/visit.go
@@ -1,3 +1,7 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package packages
import (