Open vendion opened 5 years ago
Whoops, its a API change in sessions. Should be fixed now.
Well almost, seems there maybe more changes than just that sadly
go get -u github.com/schollz/cowyo/...
# github.com/schollz/cowyo/config
go/src/github.com/schollz/cowyo/config/http.go:82:10: undefined: "github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions".NewStore
# github.com/schollz/cowyo/cmd/herdyo
go/src/github.com/schollz/cowyo/cmd/herdyo/herdyo.go:12:11: undefined: "github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions".NewStore
Okay, I updated the vendors too, try now!
Hmmm... this is the first time I've seen something like this happen, if I have go get
fetch and build everything it still fails to find github.com/schollz/cowyo/vendor/github.com/gin-contrib/sessions.NewStore, but if I pass the -d
argument to go get
and cd into $GOPATH/src/github.com/schollz/cowyo
and build it manually it works.
Attempting to build from source on FreeBSD 11.2 (since no precompiled binaries are available) errors out on
NewCookieStore