Commit Graph

13 Commits

Author SHA1 Message Date
aaf697a005 refactor: Improve endpoint robustness and client clarity
Refactored client request parameter naming and enhanced endpoint methods for better validation and idiomatic behavior.

- Renamed `URL` parameter to `requestURL` in `Client.Request` for improved clarity and to avoid potential naming conflicts.
- Added validation to `BaseEndpoint.GetByID` to prevent queries with an ID of 0, returning an error.
- Modified `BaseEndpoint.GetByIDs` to return an empty slice (`[]*T{}`) instead of an error when no IDs are provided, aligning with common Go idioms for empty result sets.
- Enhanced `BaseEndpoint.Count` method to return an error if the API reports a count of 0, ensuring that a successful count operation always yields a positive result.
2025-11-03 18:25:53 +11:00
7ef9cb37e6 refactor(module): Migrate module path to nite07.com domain 2025-10-29 20:23:42 +11:00
87afdc63b8 u 2025-10-28 22:36:26 +11:00
b99d06a2de u 2025-10-28 22:07:44 +11:00
3df648929d u 2025-05-17 16:27:46 +10:00
5cb4ab4c61 u 2025-04-09 17:10:53 +10:00
ecf81bcf79 u 2025-04-07 22:28:43 +10:00
fb58744928 u 2025-04-07 22:23:36 +10:00
194e84c258 u 2025-04-06 03:33:02 +10:00
a8e650e4d7 u 2025-04-06 03:24:50 +10:00
d550f859a7 u 2025-04-06 00:28:00 +11:00
a0e24ca14b u 2025-04-05 03:14:04 +11:00
18dc9781b1 u 2025-04-05 02:42:09 +11:00