manual_review

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManualReview

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

ManualReview 成员操作封装

func New

func New(options ...Option) *ManualReview

New 新建 ManualReview 实例

func (*ManualReview) CreateReview

func (m *ManualReview) CreateReview(param *apistructs.CreateReviewRequest) (error, int64)

func (*ManualReview) CreateReviewUser

func (m *ManualReview) CreateReviewUser(param *apistructs.CreateReviewUser) (error, int64)

func (*ManualReview) GetReviewsByUserId

func (*ManualReview) UpdateApproval

func (m *ManualReview) UpdateApproval(param *apistructs.UpdateApproval) error

type Option

type Option func(*ManualReview)

Option 定义 ManualReview 对象配置选项

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

WithDBClient 配置 db client

Jump to

Keyboard shortcuts

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