diff --git a/cmd/s5light/main.go b/main.go similarity index 93% rename from cmd/s5light/main.go rename to main.go index 1f7075f..7df42b3 100644 --- a/cmd/s5light/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "log" "os" - "github.com/hang666/s5light" + s5light "github.com/hang666/s5light/server" "github.com/urfave/cli/v2" ) diff --git a/config.go b/server/config.go similarity index 98% rename from config.go rename to server/config.go index 3dd1894..93c312d 100644 --- a/config.go +++ b/server/config.go @@ -1,4 +1,4 @@ -package s5light +package server import ( "fmt" diff --git a/handle.go b/server/handle.go similarity index 99% rename from handle.go rename to server/handle.go index 8e84b10..2ef94b9 100644 --- a/handle.go +++ b/server/handle.go @@ -1,4 +1,4 @@ -package s5light +package server import ( "fmt" diff --git a/server.go b/server/server.go similarity index 97% rename from server.go rename to server/server.go index 893f205..bd41fc0 100644 --- a/server.go +++ b/server/server.go @@ -1,4 +1,4 @@ -package s5light +package server import ( "log"