Break free from golang gopath (pre go modules)
3cbc123c69d7 — John Mulligan default tip 4 years ago
improve spelling and clarity of readme
add license and readme in preparation for sharing
use exec by default because we only one run tool at a time


browse log




GTGW is the "good to go wrapper". It aims at making it easier to work on golang code without needing to stick to the GOPATH directory structure in your own home directory.


To use gtgw you need to "tag" the directory that hosts your code with the directory structure that Go expects to see under $GOPATH/src.

Example: gtgw --tag ""

Once the repo has been tagged tagged you must prefix the go commands with gtgw and it will automatically mock the go directory structure in a temporary dir before running the real underlying commands.

Example: gtgw go test -v