mirror of
https://github.com/golang/go
synced 2024-11-13 16:40:22 -07:00
cmd/vet: move cmd/vet/whitelist to cmd/vet/internal/whitelist
This was a mistake made when bringing cmd/vet into the main repo. Fixes #13416. Change-Id: I03b512ab944577c56085aea06df8ff5e1acc16d7 Reviewed-on: https://go-review.googlesource.com/17455 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
d2ca451873
commit
5b1a8a5239
@ -7,7 +7,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"cmd/vet/whitelist"
|
"cmd/vet/internal/whitelist"
|
||||||
"flag"
|
"flag"
|
||||||
"go/ast"
|
"go/ast"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package whitelist defines exceptions for the vet tool.
|
// Package whitelist defines exceptions for the vet tool.
|
||||||
package whitelist // import "cmd/vet/whitelist"
|
package whitelist
|
||||||
|
|
||||||
// UnkeyedLiteral are types that are actually slices, but
|
// UnkeyedLiteral are types that are actually slices, but
|
||||||
// syntactically, we cannot tell whether the Typ in pkg.Typ{1, 2, 3}
|
// syntactically, we cannot tell whether the Typ in pkg.Typ{1, 2, 3}
|
Loading…
Reference in New Issue
Block a user