Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Present ¶
func Present[V PointerToValue](i V) bool
Present determines whether there is a value for a PointerToValue type.
Types ¶
type PointerToValue ¶
type PointerToValue interface {
~*uint | ~*int | ~*uint8 | ~*uint16 | ~*uint32 | ~*uint64 | ~*int8 | ~*int16 | ~*int32 |
~*int64 | ~*float32 | ~*float64 | ~*string | ~*[]string | ~*time.Time | ~*time.Duration |
~*[]byte | ~*[][]byte | ~*timestamp.T
}
PointerToValue is a generic interface (type constraint) to refer to any pointer to almost any kind of common type of value.
see the utils/values package for a set of methods to accept these values and return the correct type pointer to them.
Source Files
¶
- pointers.go
Click to show internal directories.
Click to hide internal directories.