Pavel Sinitsin
e14d4b188b
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.
9 lines
157 B
Go
9 lines
157 B
Go
package model
|
|
|
|
type Category struct {
|
|
Slug string `json:"slug"`
|
|
Name string `json:"name"`
|
|
Url string `json:"url"`
|
|
ApiUrl string `json:"apiUrl"`
|
|
}
|