Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sqlx.DB
Functions ¶
func PurgeTables ¶
func PurgeTables()
func SetupTestDB ¶
func SetupTestDB()
Types ¶
type UsersRepoType ¶
type UsersRepoType struct {
// contains filtered or unexported fields
}
func NewUsersRepository ¶
func NewUsersRepository(db *sqlx.DB) UsersRepoType
func (*UsersRepoType) CreateUser ¶
func (ur *UsersRepoType) CreateUser(ctx context.Context, nUser models.UsersCreateRequest) (models.User, error)
type UsersRepository ¶
Click to show internal directories.
Click to hide internal directories.