Documentation ¶
Index ¶
- Variables
- func CreateCategory(ctx context.Context, category *domain.Category) error
- func DeleteCategory(ctx context.Context, category *domain.Category) error
- func Init() io.Closer
- func ListCategories(ctx context.Context) ([]*domain.Category, error)
- func ReadCategory(ctx context.Context, id string) (*domain.Category, error)
- func ReadCategoryBySlug(ctx context.Context, slug string) (*domain.Category, error)
- func UpdateCategory(ctx context.Context, category *domain.Category) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Firestore *firestore.Client
)
Functions ¶
func ReadCategoryBySlug ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.