feat: add comments and cleanup unused imports across codebase
This commit is contained in:
@@ -2,5 +2,5 @@ package jikan
|
||||
|
||||
import "time"
|
||||
|
||||
const shortCacheTTL = time.Hour
|
||||
const longCacheTTL = time.Hour * 24
|
||||
const shortCacheTTL = time.Hour // 1 hour - for frequently changing data
|
||||
const longCacheTTL = time.Hour * 24 // 24 hours - for stable data like genres
|
||||
|
||||
Reference in New Issue
Block a user