user

package
v0.0.0-...-46fca04 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package user is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

func New

func New(db *db.DB) *Repo

func (*Repo) Create

func (r *Repo) Create(ctx context.Context, usr user.User) (user.User, error)

func (*Repo) DeleteByID

func (r *Repo) DeleteByID(ctx context.Context, id int) error

func (*Repo) Get

func (r *Repo) Get(ctx context.Context, param db.GetDBParam) ([]user.User, int, error)

Jump to

Keyboard shortcuts

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