ch17
This commit is contained in:
@@ -29,3 +29,11 @@ func (m *UserModel) Exists(id int) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func (m *UserModel) GetById(id int) (*models.User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (a *UserModel) ChangePassword(id int, curr_pass, new_pass string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user