Contains returns true if the format contains the substring
(sub string)
| 40 | |
| 41 | // Contains returns true if the format contains the substring |
| 42 | func (f Format) Contains(sub string) bool { |
| 43 | return strings.Contains(string(f), sub) |
| 44 | } |
| 45 | |
| 46 | // templateString pre-processes the format and returns it as a string |
| 47 | // for templating. |
no outgoing calls