Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
stelzo committed Nov 27, 2024
1 parent 759644a commit db850a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand All @@ -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)
Expand Down

0 comments on commit db850a8

Please sign in to comment.