goup-rs 0.3.0

goup is an elegant Go version manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# goup shell setup
# affix colons on either side of $PATH to simplify matching
case ":${PATH}:" in
    *:"$HOME/.goup/current/bin":*)
        ;;
    *)
        # Prepending path in case a system-installed go needs to be overridden
        export GOROOT=$HOME/.goup/current
        export PATH=$PATH:$GOROOT/bin
        ;;
esac