Documentation
¶
Overview ¶
Package reflectutil provides a safe and limited interface to some of the features of package reflect.
TODO(a.garipov): Consider exporting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatVerb ¶
FormatVerb returns a more fitting formatting verb depending on the type and the value. The current formatting exceptions are:
- Nilable values that are nil are printed with the "%#v" verb.
- Strings are printed with the "%q" verb.
func IsInterface ¶
IsInterface returns true if T is an interface type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.