dao

package
v0.0.0-...-7ed5fb6 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

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

func New

func New(db *gorm.DB) *Dao

func (*Dao) GetUserByName

func (d *Dao) GetUserByName(username string) (*model.UmsAdmin, error)

func (*Dao) Register

func (d *Dao) Register(user *model.UmsAdmin) error

Jump to

Keyboard shortcuts

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