Documentation
¶
Overview ¶
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Index ¶
- Constants
- Variables
- func Hash(v Value, h hash.Hash64) hash.Hash64
- type Bool
- type DateTime
- type Float
- type Int16
- type Int32
- type Int64
- type Int8
- type List
- type Map
- func (v Map) Copy() Value
- func (v Map) Delete(k string)
- func (v Map) Equals(w Value) bool
- func (v Map) ForEach(f func(string, Value) bool)
- func (v Map) Get(k string) (Value, bool)
- func (v Map) Key(k string) Value
- func (v Map) Keys() []string
- func (v Map) Len() int
- func (v Map) Map(f func(string, Value) Value) Map
- func (v Map) OverMap(f func(string, Value) Value)
- func (v Map) Primitive() bool
- func (v Map) Set(k string, w Value)
- func (v Map) Transform(f func(Value) Value) Value
- func (Map) Type() Type
- type Meta
- type Ref
- type Set
- type String
- type Struct
- func (v Struct) Copy() Value
- func (v Struct) Delete(k string)
- func (v Struct) Equals(w Value) bool
- func (v Struct) Field(k string) Value
- func (v Struct) ForEach(f func(string, Value) bool)
- func (v Struct) Get(k string) (Value, bool)
- func (v Struct) Keys() []string
- func (v Struct) Len() int
- func (v Struct) Map(f func(string, Value) Value) Struct
- func (v Struct) OverMap(f func(string, Value) Value)
- func (v Struct) Primitive() bool
- func (v Struct) Set(k string, w Value)
- func (v Struct) Transform(f func(Value) Value) Value
- func (Struct) Type() Type
- type Symbol
- type Tuple
- type Type
- type Uint16
- type Uint32
- type Uint64
- type Uint8
- type Union
- type Value
Constants ¶
const AnyType = TypeTuple | TypeList | TypeUnion | TypeStruct | TypeMap | TypeFloat | TypeBool | TypeString | TypeRef | TypeDateTime | TypeNull | TypeSymbol | TypeSet | TypeInt8 | TypeInt16 | TypeInt32 | TypeInt64 | TypeUint8 | TypeUint16 | TypeUint32 | TypeUint64
Variables ¶
var Null = null{}
Functions ¶
Types ¶
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
func MapFromMap ¶
func MapFromStruct ¶
type Meta ¶
Meta is a Value that describes the attributes associated with a persisted Value. Encoders should never write it as-is. Only its Value field should be encoded.