chore: remove un-used function
This commit is contained in:
parent
2d3b755cb2
commit
f5bb0fa45f
|
@ -294,10 +294,3 @@ func (s *AccountServiceDefault) exists(model interface{}, conditions map[string]
|
|||
|
||||
return exists, model, result.Error
|
||||
}
|
||||
|
||||
func validateName(firstName, lastName string) error {
|
||||
if len(firstName) == 0 || len(lastName) == 0 {
|
||||
return errors.New("first name and last name cannot be empty")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue