Documentation ¶
Overview ¶
Contains convenience methods for constructing core types.
Index ¶
- func MakeBinaryLiteral(v []byte) *core.Literal
- func MakeDefaultLiteralForType(typ *core.LiteralType) (*core.Literal, error)
- func MakeLiteral(v interface{}) (*core.Literal, error)
- func MakeLiteralForCollection(v []interface{}) (*core.Literal, error)
- func MakeLiteralForMap(v map[string]interface{}) (*core.Literal, error)
- func MakeLiteralMap(v map[string]interface{}) (*core.LiteralMap, error)
- func MakePrimitive(v interface{}) (*core.Primitive, error)
- func MakePrimitiveLiteral(v interface{}) (*core.Literal, error)
- func MustMakeDefaultLiteralForType(typ *core.LiteralType) *core.Literal
- func MustMakeLiteral(v interface{}) *core.Literal
- func MustMakePrimitive(v interface{}) *core.Primitive
- func MustMakePrimitiveLiteral(v interface{}) *core.Literal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeBinaryLiteral ¶
func MakeDefaultLiteralForType ¶
func MakeDefaultLiteralForType(typ *core.LiteralType) (*core.Literal, error)
func MakeLiteral ¶
func MakeLiteralMap ¶
func MakeLiteralMap(v map[string]interface{}) (*core.LiteralMap, error)
func MakePrimitive ¶
func MakePrimitiveLiteral ¶
func MustMakeDefaultLiteralForType ¶
func MustMakeDefaultLiteralForType(typ *core.LiteralType) *core.Literal
func MustMakeLiteral ¶
func MustMakePrimitive ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.