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
Currently go.mod contain go 1.18 , but when I use go 1.18 to execute
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/log@v0.1.1/log.go:30:19: undefined: atomic.Bool
../../../go/pkg/mod/github.com/charmbracelet/log@v0.1.1/log.go:31:19: undefined: atomic.Int32
Then I found that if I switch go version to 1.20 it will fix
For this reason, I suggest update go 1.20 in go.mod
The text was updated successfully, but these errors were encountered:
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: