Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToString ¶
func ToString(i interface{}) string
ToString returns a human-readable string representation of i.
The following types are treated specially:
- arrays, slices: surrounding [] are removed
- functions: best effort, since functions could be anonymous
- pointers: dereferenced before determining their string representation
- others: formatted using the default formats like fmt.Sprint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.