You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a minimum version of Go required to build this? I get the following compile errors running on RHEL7 with go1.3.3 (which comes from the RHEL7 repo):
[xpi@localhost linux-bing-wallpaper]$ go build bing-wallpaper.go
# command-line-arguments
./bing-wallpaper.go:458: syntax error: unexpected range, expecting {
./bing-wallpaper.go:474: non-declaration statement outside function body
./bing-wallpaper.go:475: non-declaration statement outside function body
./bing-wallpaper.go:484: non-declaration statement outside function body
./bing-wallpaper.go:486: non-declaration statement outside function body
./bing-wallpaper.go:487: syntax error: unexpected }
[xpi@localhost linux-bing-wallpaper]$ go version
go version go1.3.3 linux/amd64
[xpi@localhost linux-bing-wallpaper]$
The text was updated successfully, but these errors were encountered:
well go 1.3.3 is pretty old. frankly I didn't notice the version requirement at all. on my openSUSE Tumbleweed, the current go version is 1.9.7, and the go version when I wrote these codes must be 1.5+ because it's less than a year.
Is there a minimum version of Go required to build this? I get the following compile errors running on RHEL7 with go1.3.3 (which comes from the RHEL7 repo):
The text was updated successfully, but these errors were encountered: