diff --git a/go/vcs/vcs.go b/go/vcs/vcs.go index 54d850535d2..edbdf60827a 100644 --- a/go/vcs/vcs.go +++ b/go/vcs/vcs.go @@ -6,11 +6,17 @@ // and using version control systems, which can be used to // implement behavior similar to the standard "go get" command. // -// This package is a copy of internal code in package cmd/go/internal/get, -// modified to make the identifiers exported. It's provided here -// for developers who want to write tools with similar semantics. -// It needs to be manually kept in sync with upstream when changes are -// made to cmd/go/internal/get; see https://golang.org/issue/11490. +// Deprecated: Use the go list command with -json flag instead, +// which implements up-to-date import path resolution behavior, +// module support, and includes the latest security fixes. +// +// This package was a copy of internal code in package cmd/go/internal/get +// before module support, modified to make the identifiers exported. +// It was provided here for developers who wanted to write tools with similar semantics. +// It needed to be manually kept in sync with upstream when changes were +// made to cmd/go/internal/get, as tracked in go.dev/issue/11490. +// By now, it has diverged significantly from upstream cmd/go/internal/get +// behavior and is not being actively updated. package vcs // import "golang.org/x/tools/go/vcs" import (