/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\
\/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
Please use forum https://forum.labstack.com to ask questions!
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\
\/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
Compile error when using Echo.
vendor/github.com/labstack/echo/echo.go:614:51: e.AutoTLSManager.HTTPHandler undefined (type autocert.Manager has no field or method HTTPHandler)
package main
import "github.com/labstack/echo"
func main() {
e := echo.New()
e.Start(":")
}
v3.3.0
You seem to have a stale acme/autocert library. autocert.Manager DOES currently have that method: https://godoc.org/golang.org/x/crypto/acme/autocert#Manager.HTTPHandler I suggest a go get -u golang.org/x/crypto/acme/....
I'm using Glide actually, the problem doesn't come from Echo but from etcd, it's forcing an old version of the golang.org/x/crypto.
I'm closing this issue, thank you for your time :+1:
You're most welcome :) Cheers!
Most helpful comment
I'm using Glide actually, the problem doesn't come from Echo but from etcd, it's forcing an old version of the
golang.org/x/crypto.I'm closing this issue, thank you for your time :+1: