goods

package
v0.0.0-...-892333b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 8 Imported by: 0

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

func (gs *GoodsService) GetGoodsName(ctx context.Context, id int) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL