Looks like you have to use gob to register the types you want to stow when
using stow.NewStore.
Compare original example using stow.NewJsonStore.
See this post for context.
| #!/bin/bash | |
| set -e | |
| GVERSION="1.9" | |
| GFILE="go$GVERSION.linux-amd64.tar.gz" | |
| GOPATH="/mnt/d/Dropbox/Go" | |
| GOROOT="/usr/local/go" | |
| if [ -d $GOROOT ]; then | |
| echo "Installation directories already exist $GOROOT" |
Looks like you have to use gob to register the types you want to stow when
using stow.NewStore.
Compare original example using stow.NewJsonStore.
See this post for context.