()
| 115 | } |
| 116 | |
| 117 | func GetMaxUserId() int { |
| 118 | var user User |
| 119 | DB.Unscoped().Last(&user) |
| 120 | return user.Id |
| 121 | } |
| 122 | |
| 123 | func GetAllUsers(pageInfo *common.PageInfo) (users []*User, total int64, err error) { |
| 124 | // Start transaction |
no outgoing calls
no test coverage detected