[go] Add missing copyright header

67 views
Skip to first unread message

Gerrit Bot (Gerrit)

unread,
Jul 22, 2021, 1:51:06 AM7/22/21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Gerrit Bot has uploaded this change for review.

View Change

Add missing copyright header

Add missing copyright header

Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
GitHub-Last-Rev: 133d979322ebec0121c57e9b78cb403542611b04
GitHub-Pull-Request: golang/go#47334
---
M src/cmd/vet/main.go
M src/cmd/vet/testdata/copylock/copylock.go
M src/cmd/vet/testdata/httpresponse/httpresponse.go
M src/cmd/vet/testdata/testingpkg/tests.go
M src/cmd/vet/testdata/testingpkg/tests_test.go
5 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/cmd/vet/main.go b/src/cmd/vet/main.go
index a33bba2..61edd8b 100644
--- a/src/cmd/vet/main.go
+++ b/src/cmd/vet/main.go
@@ -1,3 +1,7 @@
+// Copyright 2021 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 main

import (
diff --git a/src/cmd/vet/testdata/copylock/copylock.go b/src/cmd/vet/testdata/copylock/copylock.go
index 8079cf3..5542ce7 100644
--- a/src/cmd/vet/testdata/copylock/copylock.go
+++ b/src/cmd/vet/testdata/copylock/copylock.go
@@ -1,3 +1,7 @@
+// Copyright 2021 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 copylock

import "sync"
diff --git a/src/cmd/vet/testdata/httpresponse/httpresponse.go b/src/cmd/vet/testdata/httpresponse/httpresponse.go
index 6141f6e..305e8f6 100644
--- a/src/cmd/vet/testdata/httpresponse/httpresponse.go
+++ b/src/cmd/vet/testdata/httpresponse/httpresponse.go
@@ -1,3 +1,7 @@
+// Copyright 2021 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 httpresponse

import (
diff --git a/src/cmd/vet/testdata/testingpkg/tests.go b/src/cmd/vet/testdata/testingpkg/tests.go
index 69d29d3..4f7820c 100644
--- a/src/cmd/vet/testdata/testingpkg/tests.go
+++ b/src/cmd/vet/testdata/testingpkg/tests.go
@@ -1 +1,5 @@
+// Copyright 2021 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 testdata
diff --git a/src/cmd/vet/testdata/testingpkg/tests_test.go b/src/cmd/vet/testdata/testingpkg/tests_test.go
index 09bb98d..c6018de 100644
--- a/src/cmd/vet/testdata/testingpkg/tests_test.go
+++ b/src/cmd/vet/testdata/testingpkg/tests_test.go
@@ -1,3 +1,7 @@
+// Copyright 2021 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 testdata

func Example_BadSuffix() {} // ERROR "Example_BadSuffix has malformed example suffix: BadSuffix"

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 1
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-MessageType: newchange

Gerrit Bot (Gerrit)

unread,
Jul 22, 2021, 2:11:05 AM7/22/21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

Gerrit Bot uploaded patch set #2 to this change.

View Change

cmd/vet: add missing copyright header


Add missing copyright header

Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
GitHub-Last-Rev: 133d979322ebec0121c57e9b78cb403542611b04
GitHub-Pull-Request: golang/go#47334
---
M src/cmd/vet/main.go
M src/cmd/vet/testdata/copylock/copylock.go
M src/cmd/vet/testdata/httpresponse/httpresponse.go
M src/cmd/vet/testdata/testingpkg/tests.go
M src/cmd/vet/testdata/testingpkg/tests_test.go
5 files changed, 20 insertions(+), 0 deletions(-)

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 2
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-CC: Go Bot <go...@golang.org>
Gerrit-CC: Tim King <tak...@google.com>
Gerrit-Attention: Michael Matloob <mat...@golang.org>
Gerrit-MessageType: newpatchset

Ian Lance Taylor (Gerrit)

unread,
Jul 22, 2021, 7:37:00 PM7/22/21
to Gerrit Bot, goph...@pubsubhelper.golang.org, Michael Matloob, Tim King, Go Bot, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

View Change

4 comments:

  • Commit Message:

  • File src/cmd/vet/main.go:

    • Patch Set #2, Line 1: // Copyright 2021 The Go Authors. All rights reserved.

      May as well get the right year, so s/2021/2018/.

  • File src/cmd/vet/testdata/copylock/copylock.go:

    • Patch Set #2, Line 1: // Copyright 2021 The Go Authors. All rights reserved.

      s/2021/2018/

      here and elsewhere.

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 2
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-CC: Go Bot <go...@golang.org>
Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Tim King <tak...@google.com>
Gerrit-Attention: Michael Matloob <mat...@golang.org>
Gerrit-Comment-Date: Thu, 22 Jul 2021 23:36:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Gerrit Bot (Gerrit)

unread,
Jul 23, 2021, 5:33:32 AM7/23/21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

Gerrit Bot uploaded patch set #3 to this change.

View Change

cmd/vet: add missing copyright header

Add missing copyright header

Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
GitHub-Last-Rev: 4122be1b4c0d4672e5955af76c31ace5d48cb622

GitHub-Pull-Request: golang/go#47334
---
M src/cmd/vet/main.go
M src/cmd/vet/testdata/copylock/copylock.go
M src/cmd/vet/testdata/httpresponse/httpresponse.go
M src/cmd/vet/testdata/testingpkg/tests.go
M src/cmd/vet/testdata/testingpkg/tests_test.go
5 files changed, 20 insertions(+), 0 deletions(-)

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 3
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-CC: Go Bot <go...@golang.org>
Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Tim King <tak...@google.com>
Gerrit-Attention: Michael Matloob <mat...@golang.org>
Gerrit-MessageType: newpatchset

Ian Lance Taylor (Gerrit)

unread,
Jul 23, 2021, 3:02:20 PM7/23/21
to Gerrit Bot, goph...@pubsubhelper.golang.org, Michael Matloob, Tim King, Go Bot, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

View Change

2 comments:

    • Omit this line, it just repeats the topic sentence.

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 3
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-CC: Go Bot <go...@golang.org>
Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Tim King <tak...@google.com>
Gerrit-Attention: Michael Matloob <mat...@golang.org>
Gerrit-Comment-Date: Fri, 23 Jul 2021 19:02:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Ian Lance Taylor <ia...@golang.org>
Gerrit-MessageType: comment

Gerrit Bot (Gerrit)

unread,
Jul 25, 2021, 3:44:41 AM7/25/21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

Gerrit Bot uploaded patch set #4 to this change.

View Change

Add missing copyright header


Add missing copyright header

Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
GitHub-Last-Rev: 423f1683fc7db8c1764383cf0a61c54ee21c06f2

GitHub-Pull-Request: golang/go#47334
---
M src/cmd/vet/main.go
M src/cmd/vet/testdata/copylock/copylock.go
M src/cmd/vet/testdata/httpresponse/httpresponse.go
M src/cmd/vet/testdata/testingpkg/tests.go
M src/cmd/vet/testdata/testingpkg/tests_test.go
5 files changed, 20 insertions(+), 0 deletions(-)

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 4
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-CC: Go Bot <go...@golang.org>
Gerrit-CC: Ian Lance Taylor <ia...@golang.org>
Gerrit-CC: Tim King <tak...@google.com>
Gerrit-Attention: Michael Matloob <mat...@golang.org>
Gerrit-MessageType: newpatchset

Gerrit Bot (Gerrit)

unread,
Jul 25, 2021, 7:18:56 AM7/25/21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

Gerrit Bot uploaded patch set #5 to this change.

View Change

Add missing copyright header

Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
GitHub-Last-Rev: 423f1683fc7db8c1764383cf0a61c54ee21c06f2
GitHub-Pull-Request: golang/go#47334
---
M src/cmd/vet/main.go
M src/cmd/vet/testdata/copylock/copylock.go
M src/cmd/vet/testdata/httpresponse/httpresponse.go
M src/cmd/vet/testdata/testingpkg/tests.go
M src/cmd/vet/testdata/testingpkg/tests_test.go
5 files changed, 20 insertions(+), 0 deletions(-)

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 5

Gerrit Bot (Gerrit)

unread,
Jul 25, 2021, 7:21:21 AM7/25/21
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

Gerrit Bot uploaded patch set #6 to this change.

View Change

cmd/vet: add missing copyright header


Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
GitHub-Last-Rev: 423f1683fc7db8c1764383cf0a61c54ee21c06f2
GitHub-Pull-Request: golang/go#47334
---
M src/cmd/vet/main.go
M src/cmd/vet/testdata/copylock/copylock.go
M src/cmd/vet/testdata/httpresponse/httpresponse.go
M src/cmd/vet/testdata/testingpkg/tests.go
M src/cmd/vet/testdata/testingpkg/tests_test.go
5 files changed, 20 insertions(+), 0 deletions(-)

To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
Gerrit-Change-Number: 336434
Gerrit-PatchSet: 6

Ian Lance Taylor (Gerrit)

unread,
Jul 25, 2021, 1:17:35 PM7/25/21
to Gerrit Bot, goph...@pubsubhelper.golang.org, Michael Matloob, Tim King, Go Bot, golang-co...@googlegroups.com

Attention is currently required from: Michael Matloob.

Patch set 6:Code-Review +2

View Change

    To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
    Gerrit-Change-Number: 336434
    Gerrit-PatchSet: 6
    Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
    Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
    Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
    Gerrit-CC: Go Bot <go...@golang.org>
    Gerrit-CC: Tim King <tak...@google.com>
    Gerrit-Attention: Michael Matloob <mat...@golang.org>
    Gerrit-Comment-Date: Sun, 25 Jul 2021 17:17:32 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Than McIntosh (Gerrit)

    unread,
    Jul 26, 2021, 7:10:36 AM7/26/21
    to Gerrit Bot, goph...@pubsubhelper.golang.org, Ian Lance Taylor, Michael Matloob, Tim King, Go Bot, golang-co...@googlegroups.com

    Attention is currently required from: Michael Matloob.

    Patch set 6:Trust +1

    View Change

      To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
      Gerrit-Change-Number: 336434
      Gerrit-PatchSet: 6
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Than McIntosh <th...@google.com>
      Gerrit-CC: Go Bot <go...@golang.org>
      Gerrit-CC: Tim King <tak...@google.com>
      Gerrit-Attention: Michael Matloob <mat...@golang.org>
      Gerrit-Comment-Date: Mon, 26 Jul 2021 11:10:30 +0000

      Ian Lance Taylor (Gerrit)

      unread,
      Jul 26, 2021, 5:34:27 PM7/26/21
      to Gerrit Bot, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Than McIntosh, Michael Matloob, Tim King, Go Bot, golang-co...@googlegroups.com

      Ian Lance Taylor submitted this change.

      View Change

      Approvals: Ian Lance Taylor: Looks good to me, approved Than McIntosh: Trusted
      cmd/vet: add missing copyright header

      Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
      GitHub-Last-Rev: 423f1683fc7db8c1764383cf0a61c54ee21c06f2
      GitHub-Pull-Request: golang/go#47334
      Reviewed-on: https://go-review.googlesource.com/c/go/+/336434
      Reviewed-by: Ian Lance Taylor <ia...@golang.org>
      Trust: Than McIntosh <th...@google.com>

      ---
      M src/cmd/vet/main.go
      M src/cmd/vet/testdata/copylock/copylock.go
      M src/cmd/vet/testdata/httpresponse/httpresponse.go
      M src/cmd/vet/testdata/testingpkg/tests.go
      M src/cmd/vet/testdata/testingpkg/tests_test.go
      5 files changed, 20 insertions(+), 0 deletions(-)

      diff --git a/src/cmd/vet/main.go b/src/cmd/vet/main.go
      index a33bba2..7da8606 100644

      --- a/src/cmd/vet/main.go
      +++ b/src/cmd/vet/main.go
      @@ -1,3 +1,7 @@
      +// Copyright 2012 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 main

      import (
      diff --git a/src/cmd/vet/testdata/copylock/copylock.go b/src/cmd/vet/testdata/copylock/copylock.go
      index 8079cf3..7cfafe6 100644

      --- a/src/cmd/vet/testdata/copylock/copylock.go
      +++ b/src/cmd/vet/testdata/copylock/copylock.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 copylock

      import "sync"
      diff --git a/src/cmd/vet/testdata/httpresponse/httpresponse.go b/src/cmd/vet/testdata/httpresponse/httpresponse.go
      index 6141f6e..98e394a 100644

      --- a/src/cmd/vet/testdata/httpresponse/httpresponse.go
      +++ b/src/cmd/vet/testdata/httpresponse/httpresponse.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 httpresponse

      import (
      diff --git a/src/cmd/vet/testdata/testingpkg/tests.go b/src/cmd/vet/testdata/testingpkg/tests.go
      index 69d29d3..8f4674d 100644

      --- a/src/cmd/vet/testdata/testingpkg/tests.go
      +++ b/src/cmd/vet/testdata/testingpkg/tests.go
      @@ -1 +1,5 @@
      +// 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 testdata
      diff --git a/src/cmd/vet/testdata/testingpkg/tests_test.go b/src/cmd/vet/testdata/testingpkg/tests_test.go
      index 09bb98d..815dcc8 100644

      --- a/src/cmd/vet/testdata/testingpkg/tests_test.go
      +++ b/src/cmd/vet/testdata/testingpkg/tests_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 testdata

      func Example_BadSuffix() {} // ERROR "Example_BadSuffix has malformed example suffix: BadSuffix"

      To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: go
      Gerrit-Branch: master
      Gerrit-Change-Id: I78942dde77547f91daebe763328f52b4c476ddaf
      Gerrit-Change-Number: 336434
      Gerrit-PatchSet: 7
      Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
      Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
      Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
      Gerrit-Reviewer: Than McIntosh <th...@google.com>
      Gerrit-CC: Go Bot <go...@golang.org>
      Gerrit-CC: Tim King <tak...@google.com>
      Gerrit-MessageType: merged
      Reply all
      Reply to author
      Forward
      0 new messages