()
| 24 | } |
| 25 | |
| 26 | func (e ErrInvalidID) Error() string { |
| 27 | return fmt.Sprintf("invalid identifier: %q must match ^[A-Za-z0-9._:-]+(?:/[A-Za-z0-9._:-]+)*$", e.ID) |
| 28 | } |
| 29 | |
| 30 | // validIdentifier checks if an identifier is valid without using regexp or unicode. |
| 31 | // Rules: |
no outgoing calls