Correct typo
This commit is contained in:
parent
b26d6370f5
commit
ea79900bf3
@ -31,7 +31,7 @@ func (p *Person) Check() error {
|
||||
|
||||
if p.URI != "" {
|
||||
if _, err := url.ParseRequestURI(string(p.URI)); err != nil {
|
||||
return fmt.Errorf("email element of person %v not correctly formatted", p.Name)
|
||||
return fmt.Errorf("uri element of person %v not correctly formatted", p.Name)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user