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
Create a file named update_linux.go in a package. Create a constant in that file. Reference that constant from another file within the same package. Now build the package by using a shell to navigate to the folder of the package and invoking go build .
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
Go version
go version go1.23.3 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Create a file named
update_linux.go
in a package. Create a constant in that file. Reference that constant from another file within the same package. Now build the package by using a shell to navigate to the folder of the package and invokinggo build .
Repo with reproducible example: https://github.com/joelklint/golang-filename-update-linux
What did you see happen?
Command invocation
stdout
Exit code
What did you expect to see?
Command invocation
stdout
Exit code
The text was updated successfully, but these errors were encountered: