]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: add hostport analyzer
authorAlan Donovan <adonovan@google.com>
Wed, 23 Apr 2025 18:23:45 +0000 (14:23 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 24 Apr 2025 02:09:44 +0000 (19:09 -0700)
commit702f164ed1a4a64cfa60e10723b9b7344bd3f601
tree1393db774ff979f6edf64b00c8037ace2ed55514
parentfca5832607d7c1afa20b82ca00ba4a27e28c0d0a
cmd/vet: add hostport analyzer

+ test, release note

Fixes #28308

Change-Id: I190e2fe513eeb6b90b0398841f67bf52510b5f59
Reviewed-on: https://go-review.googlesource.com/c/go/+/667596
Auto-Submit: Alan Donovan <adonovan@google.com>
Commit-Queue: Alan Donovan <adonovan@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
doc/next/3-tools.md
src/cmd/go/internal/test/flagdefs.go
src/cmd/go/internal/test/flagdefs_test.go
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/hostport/hostport.go [new file with mode: 0644]
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/typeindex/typeindex.go [new file with mode: 0644]
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/typeindex/typeindex.go [new file with mode: 0644]
src/cmd/vendor/modules.txt
src/cmd/vet/main.go
src/cmd/vet/testdata/hostport/hostport.go [new file with mode: 0644]
src/cmd/vet/vet_test.go