ForPublic modifies the Collection for public consumption, such as via the API.
()
| 322 | // ForPublic modifies the Collection for public consumption, such as via |
| 323 | // the API. |
| 324 | func (c *Collection) ForPublic() { |
| 325 | c.URL = c.CanonicalURL() |
| 326 | } |
| 327 | |
| 328 | var isAvatarChar = regexp.MustCompile("[a-z0-9]").MatchString |
| 329 |
no test coverage detected