repository

package
v0.0.0-...-dacb89a Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRepository

type AuthRepository struct {
	Db *sqlx.DB
}

func NewAuthRepository

func NewAuthRepository(db *sqlx.DB) *AuthRepository

func (*AuthRepository) Create

func (r *AuthRepository) Create(u *model.User) error

func (*AuthRepository) FindByPhone

func (r *AuthRepository) FindByPhone(phone string) (*model.User, error)

type Repository

type Repository struct {
	store.AuthRepositoryInterface
}

func NewRepository

func NewRepository(db *sqlx.DB) *Repository

Jump to

Keyboard shortcuts

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