Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngredientConvertor ¶
type IngredientConvertor struct{}
func Ingredient ¶
func Ingredient() IngredientConvertor
func (IngredientConvertor) AllResponseToGetManyResponse ¶
func (conv IngredientConvertor) AllResponseToGetManyResponse(proto *pb.GetAllResponse) model.IngredientsGetManyResponse
func (IngredientConvertor) ProtoToDTO ¶
func (IngredientConvertor) ProtoToDTO(proto *pb.Ingredient) model.IngredientsGetByIDResponse
type TagConvertor ¶
type TagConvertor struct{}
func Tag ¶
func Tag() TagConvertor
func (TagConvertor) ProtoAllResponseToDTOs ¶
func (conv TagConvertor) ProtoAllResponseToDTOs(proto *pb.GetAllResponse) []model.TagDTO
func (TagConvertor) ProtoToDTO ¶
func (TagConvertor) ProtoToDTO(proto *pb.Tag) model.TagDTO
Click to show internal directories.
Click to hide internal directories.