caddy -version)?
caddy v1.0.0
package main
import (
"github.com/mholt/caddy/caddy/caddymain"
// plug in plugins here, for example:
// _ "import/path/here"
_ "github.com/caddyserver/dnsproviders/dnspod"
)
func main() {
// optional: disable telemetry
//caddymain.EnableTelemetry = false
caddymain.Run()
}
follow the README, when run go build:
...
go: github.com/h2non/[email protected]: unknown revision 000000000000
...
go: error loading module requirements
add replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14 in go.mod solve it.
so close it.
@colachg im not sure id this is the correct way this is solved, ma be better would be this be resolved in the dependencies internally?
Most helpful comment
add
replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14in go.mod solve it.so close it.