ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.68k stars 386 forks source link

go get fails #221

Closed iharsuvorau closed 6 years ago

iharsuvorau commented 6 years ago

Trying to go get on another machine:

$ go get github.com/ponzu-cms/ponzu/...

receive the error:

# github.com/ponzu-cms/ponzu/system/tls
../../ponzu-cms/ponzu/system/tls/enable.go:79: m.HTTPHandler undefined (type autocert.Manager has no field or method HTTPHandler)
nilslice commented 6 years ago

Thx for reporting this. Can you try with the -u option?

go get -u github.com/ponzu-cms/ponzu/...

iharsuvorau commented 6 years ago

@nilslice yes, it's okay now with -u and without it, thank you.

nilslice commented 6 years ago

Ok, thank you.