go get github.com/minikomi/pipesock
ln -s $GOPATH/src/github.com/minikomi/pipesock/default ~/.pipesock
ln -s $GOPATH/src/github.com/minikomi/pipesock/default ~/.pipesock
import (
"go/build"
"path/filepath"
)
pkgInfo, err := build.Import("github.com/minikomi/pipesock", "", 0)
if err != nil {
panic(err)
}
webDirPath := filepath.Join(pkgInfo.Dir, "default")