Apply all golangci-lint fixes
This commit is contained in:
parent
945b3299ac
commit
75910efbe5
8 changed files with 19 additions and 22 deletions
|
@ -52,7 +52,9 @@ func InnerMain() {
|
|||
log.Printf("Initialising version %s...\n", version.Version)
|
||||
|
||||
// Set the persistence path
|
||||
persistence.SetPath(data)
|
||||
if err := persistence.SetPath(data); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// Convert the tick rate
|
||||
tickRate := 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue