diff --git a/SECURITY.md b/SECURITY.md index 7f8a58b996..79f19f17a9 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,4 +2,4 @@ ## Reporting a Vulnerability -See [golang.org/security](https://golang.org/security) to report a vulnerability. +Search [golang.org/security](https://golang.org/security) to report a vulnerability. diff --git a/codereview.cfg b/codereview.cfg index 7b02dc6633..8e436a4a97 100644 --- a/codereview.cfg +++ b/codereview.cfg @@ -1 +1,2 @@ issuerepo: golang/vscode-go +branch: vscgo-module-v0.0.1-deprecated diff --git a/vscgo/go.mod b/vscgo/go.mod new file mode 100644 index 0000000000..f8b89458ee --- /dev/null +++ b/vscgo/go.mod @@ -0,0 +1,5 @@ +module github.com/golang/vscode-go/vscgo + +go 1.20 + +retract [v0.0.0-0, v0.0.1-deprecated] diff --git a/vscgo/main.go b/vscgo/main.go index ab69ba7f0f..95ef0514e5 100644 --- a/vscgo/main.go +++ b/vscgo/main.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Go Authors. All rights reserved. +// Copyright 2023 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. @@ -7,8 +7,12 @@ // the extension is first activated. package main -import "github.com/golang/vscode-go/internal/vscgo" +import ( + "fmt" + "os" +) func main() { - vscgo.Main() + fmt.Fprintln(os.Stderr, "This is a deprecated version of vscgo. Please reinstall:") + fmt.Fprintln(os.Stderr, " go install github.com/golang/vscode-go/vscgo@latest") }