dao

package
v0.0.0-...-d4e1695 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

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

func NewUser

func NewUser(db *gorm.DB) User

func (User) Get

func (d User) Get(id int64) (model.User, apperror.Error)

func (User) List

func (d User) List(ids []int64) (ms []model.User, aerr apperror.Error)

Jump to

Keyboard shortcuts

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