Skip to content

Instantly share code, notes, and snippets.

@renier
renier / gowo.sh
Last active March 16, 2018 17:39
gowo - Go workspace switcher
# Usage: gowo my_go_workspace
# Will set GOPATH and update PATH with the bin dir. Will remove previous GOPATH bin dir from the PATH.
# Opinionated about the root dir where Go workspaces go. Change if you want.
# Put this in your ~/.bash_profile
export GOPATH=$HOME/Projects/go
export PATH=$PATH:$GOPATH/bin
function gowo() {