repositories

package
v0.0.0-...-0c43097 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideMigrator

func ProvideMigrator() []*otgorm.Migration

func ProvideSeed

func ProvideSeed() []*otgorm.Seed

func RandStringRunes

func RandStringRunes(n int) string

Types

type UserDao

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

func NewUserDao

func NewUserDao(db *gorm.DB) *UserDao

func (*UserDao) Find

func (r *UserDao) Find(ctx context.Context, id uint) (*entities.User, error)

Jump to

Keyboard shortcuts

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