Documentation
¶
Overview ¶
Package pointer contains some util functions to operate go pointer.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPointer ¶
ExtractPointer returns the underlying value by the given interface type Play: todo
Example ¶
a := 1 b := &a c := &b d := &c result := ExtractPointer(d) fmt.Println(result)
Output: 1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.