user

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 NewUser

func NewUser(db *gorm.DB) *user

Types

type User

type User interface {
	Find(ctx context.Context, userInfo *model.SysUser) (*model.SysUser, error)
	Save(ctx context.Context, userInfo *model.SysUser) error
	Updates(ctx context.Context, userInfo *model.SysUser) error
	Delete(ctx context.Context, userInfo *model.SysUser) error
}

Jump to

Keyboard shortcuts

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