NewBoolRef returns a reference to a bool with given value
(v bool)
| 2 | |
| 3 | // NewBoolRef returns a reference to a bool with given value |
| 4 | func NewBoolRef(v bool) *bool { |
| 5 | return &v |
| 6 | } |
| 7 | |
| 8 | // BoolValue returns the value of the given bool ref |
| 9 | func BoolValue(r *bool) bool { |
no outgoing calls