* Order as in spec: bool byte complex64 complex128 error float32 float64 int int8 int16 int32 int64 rune string uint uint8 uint16 uint32 uint64 uintptr time.Duration time.Time */ ToBool returns a pointer to the passed bool value.
(b bool)
| 15 | |
| 16 | // ToBool returns a pointer to the passed bool value. |
| 17 | func ToBool(b bool) *bool { |
| 18 | return &b |
| 19 | } |
| 20 | |
| 21 | // ToByte returns a pointer to the passed byte value. |
| 22 | func ToByte(b byte) *byte { |