storage

package
v0.0.0-...-d9433bb Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func New

func New(dbConn bun.IDB, conf *config.Config) *Repository

func (*Repository) CreateUser

func (r *Repository) CreateUser(u *models.User) error

func (*Repository) GetConfig

func (r *Repository) GetConfig() *config.Config

func (*Repository) GetUserByEmail

func (r *Repository) GetUserByEmail(e string) (*models.User, error)

func (*Repository) GetUserByID

func (r *Repository) GetUserByID(id uuid.UUID) (*models.User, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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