From db850a85fb2fb4e20116bc22eb43f233fc7e0a8c Mon Sep 17 00:00:00 2001 From: stelzo Date: Wed, 27 Nov 2024 23:48:29 +0100 Subject: [PATCH] naming --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 8cd095f..218939c 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ import ( var ( DoduapiMajor = 1 // Major version also used for prefixing API routes. DoduapiVersion = fmt.Sprintf("v%d.0.0-rc.1", DoduapiMajor) // change with every release - DoduapiShort = "doduapi - Unofficial Dofus Encyclopedia API." + DoduapiShort = "doduapi - Open Dofus Encyclopedia API" DoduapiLong = "" DoduapiVersionHelp = DoduapiShort + "\n" + DoduapiVersion + "\nhttps://github.com/dofusdude/doduapi" httpDataServer *http.Server @@ -188,8 +188,6 @@ func rootCommand(ccmd *cobra.Command, args []string) { sigint := make(chan os.Signal, 1) signal.Notify(sigint, os.Interrupt, syscall.SIGTERM) - ReadEnvs() - var err error printVersion, err := ccmd.Flags().GetBool("version") @@ -212,6 +210,8 @@ func rootCommand(ccmd *cobra.Command, args []string) { log.Fatal(err) } + ReadEnvs() + feedbackChan := make(chan string, 5) var wg sync.WaitGroup wg.Add(1)