Skip to content

Commit ee877ec

Browse files
committed
version bump, fix warnings
1 parent d8d586c commit ee877ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

handler.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ func setFilter(in *set.Set[string], prefix string, exceptions *[]string) (set.Se
432432
if typeIds.Has(noPrefix) {
433433
out.Put(noPrefix)
434434
} else {
435-
return out, fmt.Errorf("unknown type: " + noPrefix)
435+
return out, fmt.Errorf("unknown type: %s", noPrefix)
436436
}
437437
}
438438
} else {
@@ -441,7 +441,7 @@ func setFilter(in *set.Set[string], prefix string, exceptions *[]string) (set.Se
441441
if typeIds.Has(noPrefix) {
442442
out.Put(noPrefix)
443443
} else {
444-
return out, fmt.Errorf("unknown type: " + noPrefix)
444+
return out, fmt.Errorf("unknown type: %s", noPrefix)
445445
}
446446
}
447447
}

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import (
3131
)
3232

3333
var (
34-
DoduapiMajor = 1 // Major version also used for prefixing API routes.
35-
DoduapiVersion = fmt.Sprintf("v%d.0.0-rc.16", DoduapiMajor) // change with every release
34+
DoduapiMajor = 1 // Major version also used for prefixing API routes.
35+
DoduapiVersion = fmt.Sprintf("v%d.0.0", DoduapiMajor) // change with every release
3636
DoduapiShort = "doduapi - Open Dofus Encyclopedia API"
3737
DoduapiLong = ""
3838
DoduapiVersionHelp = DoduapiShort + "\n" + DoduapiVersion + "\nhttps://github.com/dofusdude/doduapi"

0 commit comments

Comments
 (0)