strPtr returns a pointer to a string value. This is a shared helper used by tests to create *string values for templatable fields.
(s string)
| 14 | // strPtr returns a pointer to a string value. |
| 15 | // This is a shared helper used by tests to create *string values for templatable fields. |
| 16 | func strPtr(s string) *string { |
| 17 | return new(s) |
| 18 | } |
| 19 | |
| 20 | // templatableBoolPtr returns a pointer to a TemplatableBool value. |
| 21 | func templatableBoolPtr(s string) *TemplatableBool { |
no outgoing calls
no test coverage detected