Caddy: build caddy with plugin dnspod failed

Created on 7 May 2019  路  2Comments  路  Source: caddyserver/caddy

1. Which version of Caddy are you using (caddy -version)?


caddy v1.0.0

2. What are you trying to do?

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

3. Please link to any related issues, pull requests, and/or discussion.


https://github.com/h2non/gock/issues/50

Most helpful comment

add replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14 in go.mod solve it.
so close it.

All 2 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xfzka picture xfzka  路  3Comments

klaasel picture klaasel  路  3Comments

wayneashleyberry picture wayneashleyberry  路  3Comments

whs picture whs  路  3Comments

mikolysz picture mikolysz  路  3Comments