Commit Graph

4 Commits

Author SHA1 Message Date
c0290e776c
Remove unnecessary import block formatting
Consolidate the import statement to a single line for readability. This change reduces code clutter and adheres to cleaner code standards.
2024-09-09 18:14:37 +03:00
05b8245f11
Refactor category variables and client authentication.
Renamed category variables to use underscores for better clarity and consistency. Updated client authentication method to accept username and password directly instead of using a Credentials struct.
2024-09-08 19:04:06 +03:00
cea1f96bb4
Refactor credential handling and improve parsing logic
Deleted client/credential.go and moved the Credentials struct to the api package for better modularity. Enhanced type safety in api by checking type assertions and added detailed comments in model structs.
2024-09-08 13:50:05 +03:00
e14d4b188b
Add new API and client modules for category and product management
This commit introduces new API and client modules that provide functionality for managing categories and products. It includes the creation of `.gitignore`, necessary data models, API endpoints, and client authentication using go-resty. This forms the foundation for further enhancements to the category and product management features.
2024-09-07 19:14:29 +03:00