(u *model.User)
| 66 | } |
| 67 | |
| 68 | func CreateUser(u *model.User) error { |
| 69 | u.BasePath = utils.FixAndCleanPath(u.BasePath) |
| 70 | return db.CreateUser(u) |
| 71 | } |
| 72 | |
| 73 | func DeleteUserById(id uint) error { |
| 74 | old, err := db.GetUserById(id) |
no test coverage detected