Unleash The Power of Go in CodeSandbox
Tags: go, webdev, programming
Published: 2023-05-19 16:29:58

---
title: Unleash The Power of Go in CodeSandbox
published: true
description: It's finally here! CodeSandbox now officially supports our most requested programming language, Go.
tags: go, webdev, programming
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/obpf12jt01eq5k4kat4i.png
canonical_url: https://codesandbox.io/blog/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](https://codesandbox.io/blog/announcing-sandpack-2), announced [VS Code support for sandboxes](https://codesandbox.io/blog/announcing-vs-code-support-for-sandboxes), and introduced official support for [Rust](https://codesandbox.io/blog/announcing-rust-support-in-codesandbox), [Python](https://codesandbox.io/blog/introducing-python-support-in-codesandbox), and [PHP](https://codesandbox.io/blog/say-hello-to-php-support-in-codesandbox).

Today, it’s all about Go! You can now start coding your Go projects by forking our [official template](https://codesandbox.io/p/sandbox/go-starter-ej14tt) 🔥

## 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.

{% twitter 1641815958862921728 %}

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.

<a href="https://codesandbox.io/new/blog/unleash-the-power-of-go-in-codesandbox/go-lsp.mp4" target="_blank"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pkxen82enq5yvtk6ln6c.jpg" alt="Go LSP video showcase"></a>

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](https://codesandbox.io/dashboard?import_repo=true) 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](https://codesandbox.io/docs/learn/integrations/github-app) means that you can open and branch any repo in CodeSandbox to work on a feature branch or [review PRs](https://codesandbox.io/improve-code-reviews) without having to configure anything locally. So you can have several environments running at once, each in its own browser tab.

<a href="https://codesandbox.io/new/blog/unleash-the-power-of-go-in-codesandbox/go-pr.mp4" target="_blank"><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fa1kd07tau06ahhipujd.jpg" alt="Go LSP video showcase"></a>

> 💡 If you need help configuring CodeSandbox in your open-source repo, [reach out](https://codesandbox.io/support) 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](https://codesandbox.io/p/sandbox/go-starter-ej14tt) you can use to start coding and we also recommend that you try [importing](https://codesandbox.io/dashboard?import_repo=true) 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!