joohoi / acme-dns

Limited DNS server with RESTful HTTP API to handle ACME DNS challenges easily and securely.
MIT License
2.19k stars 233 forks source link

Fails to build with Go 1.13 #309

Open shelvacu opened 2 years ago

shelvacu commented 2 years ago

I installed go with apt on ubuntu 20.04

$ go version
go version go1.13.8 linux/amd64

When building, I get the error

...
go: finding golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
go: finding github.com/klauspost/cpuid/v2 v2.0.9
go: finding github.com/libdns/libdns v0.2.1
go: finding go.uber.org/zap v1.20.0
go: finding golang.org/x/net v0.0.0-20220107192237-5cfca573fb4d
go: finding go.uber.org/atomic v1.9.0
go: finding go.uber.org/multierr v1.7.0
go: finding golang.org/x/text v0.3.7
# github.com/caddyserver/certmagic
/tmp/acme-dns/pkg/mod/github.com/caddyserver/certmagic@v0.15.2/handshake.go:206:18: hello.SupportsCertificate undefined (type *tls.ClientHelloInfo has no field or method SupportsCertificate)
note: module requires Go 1.14

This may just be a matter of documentation needing to change.