diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,4 @@ +// +build go1.20 package main import ( @@ -47,6 +48,7 @@ func main() { if !shell.Exists("go.sum") { shell.Run([]string{"go", "mod", "init"}) shell.Run([]string{"go", "mod", "tidy"}) + shell.Run([]string{"go", "mod", "edit", "-go=1.20"}) } cmd := []string{"go", "list", "-f", "'{{.Name}}'"} |
