New

CodeSandbox is now part of Together AI! We have joined forces to launch CodeSandbox SDK and bring code interpretation to generative AI.

Learn more
arrow_back
Blog chevron_right News
May 18, 2023

Unleash The Power of Go in CodeSandbox

It's finally here! CodeSandbox now officially supports our most requested programming language, Go.

Ives van Hoorne
Ives van Hoorne
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.

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!



Keep reading about News .

Joining Together AI and Introducing CodeSandbox SDK
News Dec 12, 2024

Joining Together AI and Introducing CodeSandbox SDK

We are starting a new chapter for CodeSandbox, building better tooling for our community.

CodeSandbox is Now SOC 2 Compliant
News May 23, 2024

CodeSandbox is Now SOC 2 Compliant

Another milestone that shows our commitment to keeping your code and data secure.

Introducing CodeSandbox CDE
News Jan 30, 2024

Introducing CodeSandbox CDE

CodeSandbox CDE is now live, bringing instant cloud development environments and usage-based billing.

Introducing AI Code Autocomplete Powered by Codeium
News Nov 22, 2023

Introducing AI Code Autocomplete Powered by Codeium

Powerful, accurate code suggestions for every CodeSandbox user.