coreutils

package
v0.17.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Contains convenience methods for constructing core types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeBinaryLiteral

func MakeBinaryLiteral(v []byte) *core.Literal

func MakeDefaultLiteralForType

func MakeDefaultLiteralForType(typ *core.LiteralType) (*core.Literal, error)

func MakeLiteral

func MakeLiteral(v interface{}) (*core.Literal, error)

func MakeLiteralForCollection

func MakeLiteralForCollection(v []interface{}) (*core.Literal, error)

func MakeLiteralForMap

func MakeLiteralForMap(v map[string]interface{}) (*core.Literal, error)

func MakeLiteralMap

func MakeLiteralMap(v map[string]interface{}) (*core.LiteralMap, error)

func MakePrimitive

func MakePrimitive(v interface{}) (*core.Primitive, error)

func MakePrimitiveLiteral

func MakePrimitiveLiteral(v interface{}) (*core.Literal, error)

func MustMakeDefaultLiteralForType

func MustMakeDefaultLiteralForType(typ *core.LiteralType) *core.Literal

func MustMakeLiteral

func MustMakeLiteral(v interface{}) *core.Literal

func MustMakePrimitive

func MustMakePrimitive(v interface{}) *core.Primitive

func MustMakePrimitiveLiteral

func MustMakePrimitiveLiteral(v interface{}) *core.Literal

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL