stringConst returns a 'string' constant that evaluates to s.
(s string)
| 36 | |
| 37 | // stringConst returns a 'string' constant that evaluates to s. |
| 38 | func stringConst(s string) *SSAConst { |
| 39 | return NewSSAConst(constant.MakeString(s), tString) |
| 40 | } |
| 41 | |
| 42 | // zeroConst returns a new "zero" constant of the specified type, |
| 43 | // which must not be an array or struct type: the zero values of |
no test coverage detected