Unleash The Power of Go in CodeSandbox

compuives

Ives van Hoorne

Posted on May 19, 2023

Unleash The Power of Go in CodeSandbox

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.

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.

Go LSP video showcase

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.

Go LSP video showcase

💡 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!

💖 đŸ’Ș 🙅 đŸš©
compuives
Ives van Hoorne

Posted on May 19, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related