We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently go.mod contain go 1.18 , but when I use go 1.18 to execute
go.mod
go 1.18
go run main.go server
it will panic
nx@NXsMacBook-Pro flamego-quick-template % go run main.go server # github.com/charmbracelet/log ../../../go/pkg/mod/github.com/charmbracelet/[email protected]/log.go:30:19: undefined: atomic.Bool ../../../go/pkg/mod/github.com/charmbracelet/[email protected]/log.go:31:19: undefined: atomic.Int32
Then I found that if I switch go version to 1.20 it will fix
1.20
For this reason, I suggest update go 1.20 in go.mod
go 1.20
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
go.mod
containgo 1.18
, but when I use go 1.18 to executeit will panic
Then I found that if I switch go version to
1.20
it will fixFor this reason, I suggest update
go 1.20
ingo.mod
The text was updated successfully, but these errors were encountered: