Remove debug prints
This commit is contained in:
parent
3aa7faa2f6
commit
719c92a652
2 changed files with 0 additions and 12 deletions
|
@ -75,9 +75,6 @@ var apiCmd = &cobra.Command{
|
|||
|
||||
client.DB.Close()
|
||||
|
||||
log.Println("apiPort: ", apiPort)
|
||||
log.Println("apiKey: ", apiKey)
|
||||
|
||||
e.Logger.Fatal(e.Start(fmt.Sprintf(":%d", apiPort)))
|
||||
},
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ import (
|
|||
"fmt"
|
||||
"html/template"
|
||||
"io"
|
||||
"log"
|
||||
|
||||
"git.agecem.com/agecem/bottin/v4/web"
|
||||
"git.agecem.com/agecem/bottin/v4/web/webhandlers"
|
||||
|
@ -74,14 +73,6 @@ var webCmd = &cobra.Command{
|
|||
|
||||
// Execution
|
||||
|
||||
fmt.Println("webPort: ", webPort)
|
||||
fmt.Println("web.port: ", viper.GetInt("web.port"))
|
||||
webPortFlag, err := cmd.Flags().GetInt("web-port")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Println("web-port: ", webPortFlag)
|
||||
|
||||
e.Logger.Fatal(e.Start(
|
||||
fmt.Sprintf(":%d", webPort)))
|
||||
},
|
||||
|
|
Reference in a new issue