AsKind tells the compiler to expect kind of the result.
(kind reflect.Kind)
| 71 | |
| 72 | // AsKind tells the compiler to expect kind of the result. |
| 73 | func AsKind(kind reflect.Kind) Option { |
| 74 | return func(c *conf.Config) { |
| 75 | c.Expect = kind |
| 76 | c.ExpectAny = true |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // AsBool tells the compiler to expect a boolean result. |
| 81 | func AsBool() Option { |
no outgoing calls
searching dependent graphs…