Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeByString ¶
TypeByString tries to find a reflect.Type corresponding to the type specified by s. It calls the unexported `reflect.typesByString` to do so. It will fail if the type can't be found or if more than one type with the given name exist. This relies on the following assumptions:
- The signature of `reflect.typesByString` must not change
- The value returned by `reflect.TypeOf(0)` is a `*reflect.rtype`
- The `reflect.Value` struct contains a `ptr` field of type `unsafe.Pointer`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.