Change import paths to GitHub package names

This commit is contained in:
Matthew Holt
2019-06-04 13:52:37 -06:00
parent 39db06d9c4
commit 613aecb898
32 changed files with 63 additions and 62 deletions
+11 -11
View File
@@ -1,19 +1,19 @@
package main
import (
caddycmd "bitbucket.org/lightcodelabs/caddy2/cmd"
caddycmd "github.com/caddyserver/caddy2/cmd"
// this is where modules get plugged in
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/caddylog"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/fileserver"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/headers"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/markdown"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/requestbody"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/reverseproxy"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddyhttp/rewrite"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddytls"
_ "bitbucket.org/lightcodelabs/caddy2/modules/caddytls/standardstek"
_ "github.com/caddyserver/caddy2/modules/caddyhttp"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/caddylog"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/fileserver"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/headers"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/markdown"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/requestbody"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/reverseproxy"
_ "github.com/caddyserver/caddy2/modules/caddyhttp/rewrite"
_ "github.com/caddyserver/caddy2/modules/caddytls"
_ "github.com/caddyserver/caddy2/modules/caddytls/standardstek"
)
func main() {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"flag"
"log"
"bitbucket.org/lightcodelabs/caddy2"
"github.com/caddyserver/caddy2"
)
// Main executes the main function of the caddy command.