Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OneofValueTypeCheckers ¶
func OneofValueTypeCheckers() map[schema.Type]ValueTypeChecker
OneofValueTypeCheckers returns checkers permitting different representations for a particular YT type
TODO: TM-4130: switch to StrictValueTypeCheckers()
func StrictValueTypeCheckers ¶
func StrictValueTypeCheckers() map[schema.Type]ValueTypeChecker
StrictValueTypeCheckers returns checkers permitting only the single correct representation for a particular YT type
Types ¶
type ValueTypeChecker ¶
type ValueTypeChecker func(interface{}) bool
ValueTypeChecker is a function which returns true if the passed value is represented properly - that is, in accordance with the requirements of the YT type this checker represents.
Click to show internal directories.
Click to hide internal directories.