Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableRO ¶
DisableRO disables the read-only flag of a reflect.Value object. We use this to allow the reflect package to access the value of an unexported field as if it was exported (so we can copy it).
DANGER! HERE BE DRAGONS! This is brittle and depends on internal state of a reflect.Value object. It is not guaranteed to work in future (or previous) versions of Go although we try to detect changes and panic immediately during initialization.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.