Code-Hero: Go Lang
Using Go Lang with Code-Hero
👋 Welcome to the Stackhero documentation!
Stackhero offers Code-Hero, a complete development platform to code in seconds:
- Code from anywhere: Use any device, be it a desktop, phone, or tablet, without requiring any software installations.
- Integrated VSCode experience: Work with a customized version of VSCode directly through your browser, featuring a fully functional terminal.
- Comprehensive toolset: Benefit from a pre-configured environment with tools and languages like
Docker,Git,Zsh,Node.js,Go,Python,Ruby, and more.- Seamless connectivity: Access your development applications via HTTPS on a public domain, mimicking production conditions. This setup supports webhooks and external integrations effortlessly.
Experience the efficiency and convenience of Stackhero's Code-Hero development cloud solution. It takes just 5 minutes to get started! Simplify your development processes and save valuable time today.
Code-Hero comes with asdf, a utility that enables you to select the Go Lang version you need.
By default, the latest Go Lang version is installed. You can check the Go Lang version installed with go version.
Change the default Go Lang version
If you want to change the Go Lang version, you can run these commands:
# Update all plugins
asdf plugin update --all
# List all Go Lang versions available
asdf list all golang
# Install a specific version
asdf install golang <VERSION>
# Check the current version
go version