Closed tomislavmitic2012 closed 4 years ago
If you enable Go modules you can specify the version of genny that works for you.
We don’t support using GOPATH any more.
@markbates which version of genny contains the method GoBin, you resolution to this issue is quite glib and obtuse.
@tomislavmitic2012 ran into the same issue - running the following worked for me in a fresh docker container:
GO111MODULE=on go get github.com/gobuffalo/pop/soda
GO111MODULE=on go build -o /bin/soda github.com/gobuffalo/pop/soda
The trick is to remember to turn on go modules beforehand with the GO111MODULE=on
flag. Sounds like this will be the default eventually.
@chronick we decided to fork gobuffalo/pop so as in the future we are not hostage by breaking changes in the main repo
When running
go get -v github.com/gobuffalo/pop/...
v4.7.2+incompatible the installation fails on the following lineslooking at the above lines of code gomods/init.go (https://github.com/gobuffalo/gogen/blob/v0.1.0/gomods/init.go#L61) and tidy.go (https://github.com/gobuffalo/gogen/blob/v0.1.0/gomods/tidy.go#L17) the are both calling genny.GoBin which is a non existent function.
Is there workaround or fix for this issue. This is causing problems with getting local environments and dev environments up and running for my organization
Kind regards Tom Mitic