/dev-env-go

A mostly self-contained dev environment for Go

Primary LanguageDockerfile

Dev Environment for Go

A mostly self-contained dev environment for Go.

Installation

brew install --cask docker
brew install go-task/tap/go-task

Commands

To run the build:

task build
# Specify a platform like windows/amd64
task build PLATFORM=windows/amd64

You can then run the binary:

./bin/example "what smells like blue?"

To run the linter:

task lint

To run the unit tests:

task unit-test