go.mod: Append /v2 to module name; update all import paths

See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
This commit is contained in:
Matthew Holt
2019-07-02 12:37:06 -06:00
parent 94c28a2574
commit fdd871e177
41 changed files with 72 additions and 72 deletions

View File

@ -199,7 +199,7 @@ func GoModule() *debug.Module {
}
// goModule is the name of this Go module.
const goModule = "github.com/mholt/caddy"
const goModule = "github.com/caddyserver/caddy/v2"
// CtxKey is a value type for use with context.WithValue.
type CtxKey string