Fullname adds an error if the string is not a full name.
()
| 21 | |
| 22 | // Fullname adds an error if the string is not a full name. |
| 23 | func (e *StringError) Fullname() *StringError { |
| 24 | e.Func(Fullname) |
| 25 | return e |
| 26 | } |
| 27 | |
| 28 | // Length adds an error if the string length is not in the given range. |
| 29 | func (e *StringError) Length(min, max int) *StringError { |