where you have your src folder create a dgo file with:
docker run --rm -it -v $PWD:/go aguspiza/go-dev go "$@"
Enable execution perms:
chmod +x dgo
And use it like this:
//get deps
./dgo get myproject
//build
./dgo build myproject
bin/myproject
//test
./dgo test myproject
//run
./dgo run src/myproject/main.go
./dgo version
./dgo env
Content type
Image
Digest
Size
85.4 MB
Last updated
over 8 years ago
docker pull aguspiza/go-dev