diff --git a/go.mod b/go.mod index 6af19d4..a932024 100644 --- a/go.mod +++ b/go.mod @@ -12,8 +12,6 @@ require ( github.com/labstack/echo/v4 v4.1.16 github.com/labstack/gommon v0.3.0 github.com/leodido/go-urn v1.2.0 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.1 // indirect github.com/rs/xid v1.2.1 github.com/sdomino/scribble v0.0.0-20191024200645-4116320640ba github.com/skip2/go-qrcode v0.0.0-20191027152451-9434209cb086 diff --git a/main.go b/main.go index 282d6a4..0553272 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ var ( func init() { // command-line flags flagDisableLogin := flag.Bool("disable-login", false, "Disable login page. Turn off authentication.") - flagBindAddress := flag.String("bind-address", "0.0.0.0:5000", "Address:Port to which the app will be bound.") + flagBindAddress := flag.String("bind-address", "0.0.0.0:5000", "Address:Port to which the app will be bound.") flag.Parse() // update runtime config @@ -39,7 +39,7 @@ func init() { fmt.Println("Build Time\t:", buildTime) fmt.Println("Git Repo\t:", "https://github.com/ngoduykhanh/wireguard-ui") fmt.Println("Authentication\t:", !util.DisableLogin) - fmt.Println("Bind address\t:", util.BindAddress) + fmt.Println("Bind address\t:", util.BindAddress) // initialize DB err := util.InitDB()