Documentation ¶
Index ¶
- Variables
- func CreateBrand(ctx context.Context, brand *domain.Brand) error
- func DeleteBrand(ctx context.Context, brand *domain.Brand) error
- func Init() io.Closer
- func ListBrands(ctx context.Context) ([]*domain.Brand, error)
- func ReadBrand(ctx context.Context, id string) (*domain.Brand, error)
- func ReadBrandByShortName(ctx context.Context, name string) (*domain.Brand, error)
- func ReadBrandBySlug(ctx context.Context, slug string) (*domain.Brand, error)
- func UpdateBrand(ctx context.Context, brand *domain.Brand) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Firestore *firestore.Client
)
Functions ¶
func ReadBrandByShortName ¶
func ReadBrandBySlug ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.