Gerrit Bot has uploaded this change for review.
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.
Attention is currently required from: Michael Matloob.
Gerrit Bot uploaded patch set #2 to this 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.
Attention is currently required from: Michael Matloob.
4 comments:
Commit Message:
Patch Set #2, Line 7: cmd/vet: add missing copyright header
s/header/headers/
Patch Set #2, Line 9: Add missing copyright header
Omit this line, it just repeats the topic sentence.
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.
Attention is currently required from: Michael Matloob.
Gerrit Bot uploaded patch set #3 to this 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.
Attention is currently required from: Michael Matloob.
2 comments:
Commit Message:
Patch Set #2, Line 9: Add missing copyright header
Omit this line, it just repeats the topic sentence.
This is still not done. See https://golang.org/wiki/CommitMessage. Thanks.
File src/cmd/vet/testdata/testingpkg/tests.go:
Patch Set #3, Line 1: // Copyright 2016 The Go Authors. All rights reserved.
2018, I think.
To view, visit change 336434. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Michael Matloob.
Gerrit Bot uploaded patch set #4 to this 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.
Attention is currently required from: Michael Matloob.
Gerrit Bot uploaded patch set #5 to this 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.
Attention is currently required from: Michael Matloob.
Gerrit Bot uploaded patch set #6 to this 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.
Attention is currently required from: Michael Matloob.
Patch set 6:Code-Review +2
Attention is currently required from: Michael Matloob.
Patch set 6:Trust +1
Ian Lance Taylor submitted this change.
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.