AsInt tells the compiler to expect an int result.
()
| 87 | |
| 88 | // AsInt tells the compiler to expect an int result. |
| 89 | func AsInt() Option { |
| 90 | return func(c *conf.Config) { |
| 91 | c.Expect = reflect.Int |
| 92 | c.ExpectAny = true |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // AsInt64 tells the compiler to expect an int64 result. |
| 97 | func AsInt64() Option { |
no outgoing calls
searching dependent graphs…