refactor: shorten function names in jikan search

This commit is contained in:
2026-06-23 17:40:26 +02:00
parent 9f973c178a
commit ac8e583e23
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