NewString returns a new String instance. If reporter is nil, the function panics. Example: str := NewString(t, "Hello")
(reporter Reporter, value string)
| 27 | // |
| 28 | // str := NewString(t, "Hello") |
| 29 | func NewString(reporter Reporter, value string) *String { |
| 30 | return newString(newChainWithDefaults("String()", reporter), value) |
| 31 | } |
| 32 | |
| 33 | // NewStringC returns a new String instance with config. |
| 34 | // |
searching dependent graphs…