|
|
|
|
|
by guilhas
37 days ago
|
|
To avoid propagating the pointer I would change *RateLimiter to RateLimiter DecodeRequest can return Request instead of *Request, or error if not valid Also I would replace `if userID == "" {` with `if err != nil {`. If an object is not loaded successfully returning error I think is more standard |
|