AsInt64 tells the compiler to expect an int64 result.
()
| 95 | |
| 96 | // AsInt64 tells the compiler to expect an int64 result. |
| 97 | func AsInt64() Option { |
| 98 | return func(c *conf.Config) { |
| 99 | c.Expect = reflect.Int64 |
| 100 | c.ExpectAny = true |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | // AsFloat64 tells the compiler to expect a float64 result. |
| 105 | func AsFloat64() Option { |
no outgoing calls
searching dependent graphs…