diff --git a/cmd/mt-multiserver-proxy/proxy.go b/cmd/mt-multiserver-proxy/proxy.go index f706643..f6f3dc3 100644 --- a/cmd/mt-multiserver-proxy/proxy.go +++ b/cmd/mt-multiserver-proxy/proxy.go @@ -3,7 +3,7 @@ mt-multiserver-proxy starts the reverse proxy. */ package main -import "github.com/HimbeerserverDE/mt-multiserver-proxy" +import proxy "github.com/HimbeerserverDE/mt-multiserver-proxy" func main() { proxy.Run() diff --git a/doc/build_env.md b/doc/build_env.md index 8ba67cf..de04921 100644 --- a/doc/build_env.md +++ b/doc/build_env.md @@ -4,6 +4,7 @@ go version go1.17 linux/amd64 ``` ## Build commands +All commands are run in the project root directory. ### Compile development version to check for errors ``` go install -race github.com/HimbeerserverDE/mt-multiserver-proxy/cmd/mt-multiserver-proxy @@ -14,5 +15,6 @@ go install -race github.com/HimbeerserverDE/mt-multiserver-proxy/cmd/mt-multiser ``` ## Formatting ``` +goimports -l -w . go fmt ```