(ctx *ctx.Context, username string)
| 411 | } |
| 412 | |
| 413 | func UserGetByUsername(ctx *ctx.Context, username string) (*User, error) { |
| 414 | return UserGet(ctx, "username=?", username) |
| 415 | } |
| 416 | |
| 417 | func UserGetById(ctx *ctx.Context, id int64) (*User, error) { |
| 418 | return UserGet(ctx, "id=?", id) |
no test coverage detected