[Experimental] Go Modules with Buffalo
I recently finished a pull request to add experimental support for Go Modules in the next version of Buffalo.
In testing with go1.11rc1, and with GO111MODULE=on, I was able to create Buffalo applications both inside and outside of the GOPATH. Applications created outside of the GOPATH behave as those inside of the GOPATH, but build, and run, using Go Modules.
Once this PR lands in the development branch, hopefully this week, those who want to try it out can compile Buffalo from that branch.
Go Modules support will be opt-in, and will most likely follow whatever course the Go team charts for it’s required usage. To enable support in Buffalo you simply need to set the GO111MODULE=on and use a version of Go that supports modules.
In the meantime, here is a short video demonstrating Go Modules support in Buffalo.

Are you a company looking for Buffalo or Go training? The Gopher Guides want to help. With customizable onsite and virtual training, the Guides will bring your team up to speed quickly, and with the knowledge they need to write great code on a daily basis.