Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoodsInterface ¶
type GoodsInterface interface { GetGoodsName(ctx context.Context, id int) (string, error) CrudGoods(ctx context.Context) (goods respository.Test, err error) }
var Instance GoodsInterface
type GoodsService ¶
type GoodsService struct{}
func (*GoodsService) CrudGoods ¶
func (gs *GoodsService) CrudGoods(ctx context.Context) (goods respository.Test, err error)
func (*GoodsService) GetGoodsName ¶
Click to show internal directories.
Click to hide internal directories.