You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go get -u github.com/mholt/certmagic
# github.com/mholt/certmagic
src/github.com/mholt/certmagic/client.go:98:29: cannot use &leUser (type *user) as type "github.com/go-acme/lego/registration".User in argument to lego.NewConfig:
*user does not implement "github.com/go-acme/lego/registration".User (wrong type for GetRegistration method)
have GetRegistration() *"github.com/xenolf/lego/registration".Resource
want GetRegistration() *"github.com/go-acme/lego/registration".Resource
src/github.com/mholt/certmagic/client.go:103:11: cannot use keyType (type "github.com/xenolf/lego/certcrypto".KeyType) as type "github.com/go-acme/lego/certcrypto".KeyType in field value
src/github.com/mholt/certmagic/client.go:128:72: cannot use "github.com/xenolf/lego/registration".RegisterOptions literal (type "github.com/xenolf/lego/registration".RegisterOptions) as type "github.com/go-acme/lego/registration".RegisterOptions in argument to client.Registration.Register
src/github.com/mholt/certmagic/client.go:132:23: cannot use reg (type *"github.com/go-acme/lego/registration".Resource) as type *"github.com/xenolf/lego/registration".Resource in assignment
src/github.com/mholt/certmagic/client.go:200:33: cannot use "github.com/xenolf/lego/challenge".HTTP01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:203:33: cannot use "github.com/xenolf/lego/challenge".TLSALPN01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:207:32: cannot use "github.com/xenolf/lego/challenge".HTTP01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:208:32: cannot use "github.com/xenolf/lego/challenge".TLSALPN01 (type "github.com/xenolf/lego/challenge".Type) as type "github.com/go-acme/lego/challenge".Type in argument to c.acmeClient.Challenge.Remove
src/github.com/mholt/certmagic/client.go:259:54: cannot use request (type "github.com/xenolf/lego/certificate".ObtainRequest) as type "github.com/go-acme/lego/certificate".ObtainRequest in argument to c.acmeClient.Certificate.Obtain
src/github.com/mholt/certmagic/client.go:271:34: cannot use certificate (type *"github.com/go-acme/lego/certificate".Resource) as type *"github.com/xenolf/lego/certificate".Resource in argument to c.config.saveCertResource
src/github.com/mholt/certmagic/client.go:271:34: too many errors
The text was updated successfully, but these errors were encountered:
[[constraint]]
branch = "master"
name = "github.com/mholt/certmagic"
+ [[override]]+ name = "github.com/go-acme/lego"+ branch = "master"
I don't know [[constraint]] is not work for me
when I try dep ensure -add github.com/go-acme/lego dep tools only install old version github.com/xenolf/lego and I can't build.
This error occured when I try to update certmagic
The text was updated successfully, but these errors were encountered: