service

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 5 Imported by: 0

README

service

service 层的主要左右就是 dto 数据和 do 数据的相互转换

Documentation

Index

Constants

This section is empty.

Variables

ProvideSet is service providers.

Functions

This section is empty.

Types

type ShopInterface

type ShopInterface struct {
	// contains filtered or unexported fields
}

func NewShopInterface

func NewShopInterface(usecase domain.UserUsecase, logger *zap.Logger) *ShopInterface

func (*ShopInterface) GetUserById

func (u *ShopInterface) GetUserById(ctx context.Context, req *v1.GetUserReq) (*v1.GetUserResp, error)

Jump to

Keyboard shortcuts

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