Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAnyConverter ¶
RegisterAnyConverter registers a converter for a specific type to be used with ToAny that converts to any.
func RegisterObjectConverter ¶
RegisterObjectConverter registers a converter for a specific type to be used with ToObject that converts to a gad.Object.
func ToInterface ¶
ToInterface tries to convert any value to any using the registered converters. This should be called in gad.ToInterface.
Types ¶
Click to show internal directories.
Click to hide internal directories.