Skip to content

Commit 5ef7c83

Browse files
authored
Merge pull request #2553 from Ankit152/master
🐛 For go/v3, ensure that the plugin can only be used with its go supported version >= 1.17 and < 1.18
2 parents 5e60908 + eb75644 commit 5ef7c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/plugins/golang/v3/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ import (
3535

3636
// Variables and function to check Go version requirements.
3737
var (
38-
goVerMin = golang.MustParse("go1.16")
39-
goVerMax = golang.MustParse("go2.0alpha1")
38+
goVerMin = golang.MustParse("go1.17")
39+
goVerMax = golang.MustParse("go1.18")
4040
)
4141

4242
var _ plugin.InitSubcommand = &initSubcommand{}

0 commit comments

Comments
 (0)