Skip to content

Commit f480000

Browse files
Merge remote-tracking branch 'origin/vscgo-module-v0.0.1-deprecated' into pr/3755
2 parents 1e6e4e8 + 721cbb0 commit f480000

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

codereview.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
issuerepo: golang/vscode-go
2+
branch: vscgo-module-v0.0.1-deprecated

vscgo/go.mod

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/golang/vscode-go/vscgo
2+
3+
go 1.20
4+
5+
retract [v0.0.0-0, v0.0.1-deprecated]

vscgo/main.go

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 The Go Authors. All rights reserved.
1+
// Copyright 2023 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

@@ -7,8 +7,12 @@
77
// the extension is first activated.
88
package main
99

10-
import "github.com/golang/vscode-go/internal/vscgo"
10+
import (
11+
"fmt"
12+
"os"
13+
)
1114

1215
func main() {
13-
vscgo.Main()
16+
fmt.Fprintln(os.Stderr, "This is a deprecated version of vscgo. Please reinstall:")
17+
fmt.Fprintln(os.Stderr, " go install github.com/golang/vscode-go/vscgo@latest")
1418
}

0 commit comments

Comments
 (0)