//
pkg.gl
Category
github.com/Erickype/bonsai-store-ruled-based
category
package
0.0.0-20231021200321-e264bf3ac5f0
Repository:
https://github.com/erickype/bonsai-store-ruled-based.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
53 SLOC
#
Functions
Add
Add insert a category in the database encore:api method=POST path=/category.
GetById
GetById returns the information of a category based on the id from path returns a Category struct.
#
Structs
AddRequest
AddRequest is the request struct for Add method.
AddResponse
AddResponse is the response struct for Add method.
Category
Category represents a product parent category.