packer

package
v0.0.0-...-c665954 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const N = 2
View Source
const Package packageType = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Ages

type Ages map[string]int

frizz

func (*Ages) Repack

func (a *Ages) Repack(context global.DataContext) (value interface{}, dict bool, null bool, err error)

func (*Ages) Unpack

func (a *Ages) Unpack(context global.DataContext, in interface{}) (null bool, err error)

type Alias

type Alias Int

frizz

type AliasArray

type AliasArray [3]string

frizz

type AliasMap

type AliasMap map[string]*Qual

frizz

type AliasPointer

type AliasPointer *Int

frizz

type AliasSlice

type AliasSlice []Int

frizz

type AliasSub

type AliasSub sub.Sub

frizz

type Csv

type Csv []int

frizz

func (*Csv) Repack

func (c *Csv) Repack(context global.DataContext) (value interface{}, dict bool, null bool, err error)

func (*Csv) Unpack

func (c *Csv) Unpack(context global.DataContext, in interface{}) (null bool, err error)

type Custom

type Custom struct {
	ast.Expr
}

frizz

func (*Custom) Repack

func (c *Custom) Repack(context global.DataContext) (value interface{}, dict bool, null bool, err error)

func (*Custom) Unpack

func (c *Custom) Unpack(context global.DataContext, in interface{}) (null bool, err error)

type CustomSub

type CustomSub sub.Sub

frizz

func (*CustomSub) Repack

func (c *CustomSub) Repack(context global.DataContext) (value interface{}, dict bool, null bool, err error)

func (*CustomSub) Unpack

func (c *CustomSub) Unpack(context global.DataContext, in interface{}) (null bool, err error)

type EmbedNatives

type EmbedNatives struct {
	Natives
	Int int
}

frizz

type EmbedPointer

type EmbedPointer struct {
	*Natives
	Int int
}

frizz

type EmbedQual

type EmbedQual struct {
	sub.Sub
	Int int
}

frizz

type EmbedQualPointer

type EmbedQualPointer struct {
	*sub.Sub
	Int int
}

frizz

type Float64

type Float64 float64

frizz

type HasNotFrizz

type HasNotFrizz struct {
	String sub.StringNotFrizz
	Int    sub.IntNotFrizz
	Float  sub.FloatNotFrizz
	Bool   sub.BoolNotFrizz
	Uint64 sub.Uint64NotFrizz
}

frizz

type HasTime

type HasTime struct {
	Time time.Time
}

frizz

type ImpSilent

type ImpSilent int

frizz

func (ImpSilent) Silent

func (i ImpSilent) Silent()

type Impi

type Impi struct {
	Int int
}

frizz

func (Impi) Foo

func (i Impi) Foo() string

type Imps

type Imps struct {
	String string
}

frizz

func (Imps) Foo

func (i Imps) Foo() string

type Int

type Int int

frizz

type Interface

type Interface interface {
	Foo() string
}

frizz

type InterfaceField

type InterfaceField struct {
	Iface Interface
	Slice []Interface
	Array [3]Interface
	Map   map[string]Interface
}

frizz

type InterfaceSlice

type InterfaceSlice []Interface

frizz

type InterfaceValidator

type InterfaceValidator string

frizz

func (InterfaceValidator) Validate

func (i InterfaceValidator) Validate(context global.ValidationContext, input interface{}) (valid bool, message string, err error)

type Maps

type Maps struct {
	Ints    map[string]int
	Strings map[string]string
	Slices  map[string][]string
	Arrays  map[string][2]int
	Maps    map[string]map[string]string
}

frizz

type Natives

type Natives struct {
	Bool      bool
	Byte      byte
	Float32   float32
	Float64   float64
	Int       int
	Int8      int8
	Int16     int16
	Int32     int32
	Int64     int64
	Uint      uint
	Uint8     uint8
	Uint16    uint16
	Uint32    uint32
	Uint64    uint64
	Rune      rune
	String    string
	PtrString *string
	PtrInt    *int
	PtrBool   *bool
	Number    json.Number
}

frizz

type Pointers

type Pointers struct {
	String      *string
	Int         *Int
	Sub         *sub.Sub
	Array       *[3]int
	Slice       *[]string
	Map         *map[string]int
	SliceString []*string
	SliceInt    []*Int
	SliceSub    []*sub.Sub
}

frizz

type Private

type Private struct {
	// contains filtered or unexported fields
}

frizz

type Qual

type Qual struct {
	Sub sub.Sub
}

frizz

type Silent

type Silent struct {
	Silent silent.Silent
}

frizz

type Slices

type Slices struct {
	Ints      []int
	Strings   []string
	ArrayLit  [5]string
	ArrayExpr [2 * N]int
	Structs   []struct {
		Int int
	}
	Arrays [][]string
}

frizz

type String

type String string

frizz

type Structs

type Structs struct {
	Simple struct {
		Int  int
		Bool bool
	}
	Complex struct {
		String string
		Inner  struct {
			Float32 float32
		}
	}
}

frizz

type SubInterface

type SubInterface struct {
	SubInterface sub.SubInterface
}

frizz

type SubInterfaceSlice

type SubInterfaceSlice []sub.SubInterface

frizz

type SubMap

type SubMap struct {
	Map map[string]sub.Sub
}

frizz

type SubSlice

type SubSlice struct {
	Slice []sub.Sub
}

frizz

type Type

type Type struct {
	Path string
	Name string
}

frizz

func (*Type) Repack

func (t *Type) Repack(context global.DataContext) (value interface{}, dict bool, null bool, err error)

func (*Type) Unpack

func (t *Type) Unpack(context global.DataContext, in interface{}) (null bool, err error)

type Uint

type Uint uint

frizz

Directories

Path Synopsis
use

Jump to

Keyboard shortcuts

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