GetUserByUsername returns the user with given username. It returns database.ErrUserNotExist when not found.
(ctx context.Context, username string)
| 117 | // GetUserByUsername returns the user with given username. It returns |
| 118 | // database.ErrUserNotExist when not found. |
| 119 | GetUserByUsername(ctx context.Context, username string) (*database.User, error) |
| 120 | // CreateUser creates a new user and persists to database. It returns |
| 121 | // database.ErrNameNotAllowed if the given name or pattern of the name is not |
| 122 | // allowed as a username, or database.ErrUserAlreadyExist when a user with same |
no outgoing calls
no test coverage detected