PInt64 interprets the underlying value as an int64 and returns a pointer to that value.
()
| 39 | // PInt64 interprets the underlying value as an int64 and returns a pointer to |
| 40 | // that value. |
| 41 | func (vp *ValueParser) PInt64() *int64 { |
| 42 | if vp.err != nil { |
| 43 | return nil |
| 44 | } |
| 45 | |
| 46 | v := vp.int64() |
| 47 | return &v |
| 48 | } |
| 49 | |
| 50 | // int64 interprets the underlying value as an int64 and returns that value. |
| 51 | // TODO: export if/when necessary. |