goimports

master
HimbeerserverDE 2021-10-13 17:02:12 +02:00
parent 44a4159bd0
commit 432521a2ef
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
2 changed files with 3 additions and 1 deletions

View File

@ -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()

View File

@ -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
```