refactor: shorten function names in jikan search

This commit is contained in:
2026-06-23 17:40:26 +02:00
committed by Milas Holsting
parent d55a9087eb
commit ce91822a25
2 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ func setQueryValue(values url.Values, key, value string) {
values.Set(key, value)
}
func setPositiveIntQueryValue(values url.Values, key string, value int) {
func setPositiveInt(values url.Values, key string, value int) {
if value <= 0 {
values.Del(key)
return