Text creates a new StatementGenerator representing a simple string.
(str string)
| 62 | |
| 63 | // Text creates a new StatementGenerator representing a simple string. |
| 64 | func Text(str string) *TextGen { |
| 65 | gen := TextGen(str) |
| 66 | return &gen |
| 67 | } |
| 68 | |
| 69 | // AddChildren implements the interface StatementGenerator. |
| 70 | func (t *TextGen) AddChildren(children ...StatementGenerator) error { |
no test coverage detected