Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IInsertUser ¶
type IInsertUser interface { Customer() (IInsertUser, error) Admin() (IInsertUser, error) Result() (*users.UserPassport, error) }
func InsertUser ¶
func InsertUser(db *sqlx.DB, req *users.UserRegisterReq, isAdmin bool) IInsertUser
Click to show internal directories.
Click to hide internal directories.