operation

package
v0.0.0-...-10cedd8 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOperation

func NewOperation(db *gorm.DB) *operation

Types

type Operation

type Operation interface {
	Find(ctx context.Context, in *model.SysOperationRecord) (*model.SysOperationRecord, error)
	PageList(ctx context.Context, params *dto.OperationListInput) ([]*model.SysOperationRecord, int64, error)
	Save(ctx context.Context, in *model.SysOperationRecord) error
	Delete(ctx context.Context, in *model.SysOperationRecord) error
	DeleteList(ctx context.Context, in []int) error
}

Jump to

Keyboard shortcuts

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