Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrandToProto ¶
func BrandToProto(brand *domain.Brand) *brandproto.Brand
BrandToProto marshals a domain object into a protobuf object.
func BrandsToProto ¶
func BrandsToProto(brands []*domain.Brand) []*brandproto.Brand
BrandsToProto marshals a slice of domain objects into protobuf objects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.