We have a beta release of our new Go support packages that is now ready for early testing. Support comes in two packages: ‘golangconfig’ is a developer library used to obtain information about the local Go environment. It will handle configuration ($GOPATH, etc) through a combination of auto-detection and configuration. The end-user ‘Golang Build’ package provides Go toolchain integration with the Sublime build system - go build, go install, go test. It is the first package to utilize the functionality of golangconfig.
We would like our Sublime-using Gophers to test these new codebases by installing Golang Build. Currently the package is only available from a custom Package Control repository. To install it, please:
- Open the Sublime Text command palette and type “Add Repository”
- Paste https://packagecontrol.io/testing/go_packages.json into the input panel that opens
- Run the “Install Package” command via the command palette
- Type “Golang Build” and press enter
Once we have completed a few rounds of testing, the Golang Build package and golangconfig dependency will be added to the default Package Control channel and will be available to all users and package developers.
Documentation for the two packages is available on GitHub.
End-user documentation: https://github.com/golang/sublime-build/blob/master/docs/usage.md
Developer documentation: https://github.com/golang/sublime-config/tree/master/docs
Please file bugs using the appropriate issue trackers. For problems with Go environment detection and configuration, issues should be filed at:
For bugs related to the build command integration, issues should be filed at:
Our longer term goal is to have other Go-related Sublime packages ported to use golangconfig. This would allow users to set their Go environment configuration in one place and have that used by all of their installed Go/Sublime packages.
The Go Team