Unleash The Power of Go in CodeSandbox
Ives van Hoorne
Posted on May 19, 2023
Hi there, Go community đ Today is your day! We are happy to introduce official support for Go development environments in CodeSandbox. Now, you can import your Go projects and code them right from CodeSandbox.
We are the team building CodeSandboxâa cloud development platform that makes it incredibly easy to spin up a cloud environment and share it with others.
If you've been following us, you might have noticed that we have been on a building spree: we have released a new version of Sandpack, announced VS Code support for sandboxes, and introduced official support for Rust, Python, and PHP.
Today, itâs all about Go! You can now start coding your Go projects by forking our official template đ„
A new home for your Go projects
We love building CodeSandbox together with our community.
Not only have we open-sourced a significant part of our product, we keep asking our users what we should improve next.
Recently, we spiced it up by doing a March Madness-style competition to choose the programming language weâd support next. Despite having seven strong competitors in the mix, Go came out on top.
14:53 PM - 31 Mar 2023
So, what does official support mean?
In a nutshell, it brings a built-in Go LSP (powered by gopls
) to CodeSandbox, which means you will now get auto-completion, auto-formatting, linting and type definitions (when applicable) when writing Go code in CodeSandbox.
The most exciting thing about this is that you can now bring any Go project into CodeSandbox and develop it entirely within our cloud development platform.
So, it doesn't matter which device or code editor youâre using. Have an old laptop that struggles to keep up? Going to a conference with nothing but your iPad? No worriesâyou can use CodeSandbox to work from anywhere, as long as you have an internet connection.
A cloud environment, one click away
You might be askingâwhy would I want to code in the cloud?
The answer is much more than just being able to code from any device. Itâs all about simplifying some of the most time-consuming tasks of the development process.
Think about it: how many times have you had to troubleshoot an environment because it doesnât run the same on two different laptops? And how much time do you waste context-switching just to be able to review PRs locally?
These are just two of the many frustrations of the development process that weâre fixing with CodeSandbox.
When you import a GitHub repository to CodeSandbox, we run it in our cloud infrastructure (with very generous VM specs), automatically install all dependencies, run a preview, and make the entire thing fully collaborativeâyou just need to share a URL to collaborate with others.
In other words, we give you a live development environment for every branch and every pull request.
Our tight integration with GitHub means that you can open and branch any repo in CodeSandbox to work on a feature branch or review PRs without having to configure anything locally. So you can have several environments running at once, each in its own browser tab.
đĄ If you need help configuring CodeSandbox in your open-source repo, reach out and weâll be happy to help!
Making coding more accessible
At the end of the day, all we care about is solving all the infrastructure and config for you, so you can just focus on coding without wasting your valuable time.
We have launched an official Go starter you can use to start coding and we also recommend that you try importing one of your Go repositories to make the most of this experience!
Finally, our huge thank you to everyone from the Go community for helping us shape the future of CodeSandbox. We are thrilled to have you with us!
Posted on May 19, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.