Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codespaces-examples/go
Go (Golang) Codespaces Template Repo
https://github.com/codespaces-examples/go
codespaces docker environment github golang visual-studio vscode
Last synced: 9 days ago
JSON representation
Go (Golang) Codespaces Template Repo
- Host: GitHub
- URL: https://github.com/codespaces-examples/go
- Owner: codespaces-examples
- License: mit
- Created: 2020-05-06T17:06:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T09:39:54.000Z (over 1 year ago)
- Last Synced: 2024-08-01T13:38:34.636Z (3 months ago)
- Topics: codespaces, docker, environment, github, golang, visual-studio, vscode
- Language: Shell
- Size: 4.88 KB
- Stars: 60
- Watchers: 2
- Forks: 36
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go (Golang) Codespaces starter template
Welcome, Gopher! This repository is a template for you to use in your next (or existing) Go project so you can take advantage of [Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/), or the brand-new [GitHub Codespaces](https://github.com/features/codespaces).
## How to get started on a new repository
The easiest way to get started is on a new repository. For that, simply click on the green "Use this template" button, right above the list of files.
After you do, a list of options for creating a _new_ repository will pop up. After you're done, a brand new repository will be created for you, wherever you told it to. And it'll be pre-populated with everything you need to be up and running with Codespaces.
## How to get started with an existing repository
TODO
## Testing this out
This template sets up Go entirely inside a Docker image. To test it, make sure you have [Docker](https://docker.com) installed and run the below command from the root of this repository:
```console
$ cd .devcontainer
$ docker build .
$ cd ..
```>When you run the command, make sure to remove the leading `$`
## Built on the Shoulders of Giants
Like almost every developer who contributes to open source, I didn't write this code in a vacuum. I had help! Thank you to the following contributors for helping me build this:
- [`bnb`](https://github.com/bnb) for code from [codespaces-examples/node](https://github.com/codespaces-examples/node
)
- [`asw101`](https://github.com/asw101) for code from [`asw101/hello-vso`](https://github.com/asw101/hello-vso)I took inspiration, and sometimes code, from their repositories.
>I took code and ideas _directly_ from these developers' repositories. There are countless other projects and technologies that this repository implicitly relies on, and the list of contributors behind those projects is too long to write here. Thank you to every one of those contributors.