Documentation ¶
Index ¶
- Variables
- type Int
- func (Int) AsBool() (bool, error)
- func (Int) AsBytes() ([]byte, error)
- func (Int) AsFloat() (float64, error)
- func (n Int) AsInt() (int64, error)
- func (Int) AsLink() (ld.Link, error)
- func (Int) AsString() (string, error)
- func (n Int) Int() int64
- func (Int) IsAbsent() bool
- func (Int) IsNull() bool
- func (Int) Kind() ld.Kind
- func (Int) Length() int64
- func (Int) ListIterator() ld.ListIterator
- func (Int) LookupByIndex(idx int64) (ld.Node, error)
- func (Int) LookupByNode(ld.Node) (ld.Node, error)
- func (Int) LookupBySegment(seg ld.PathSegment) (ld.Node, error)
- func (Int) LookupByString(string) (ld.Node, error)
- func (Int) MapIterator() ld.MapIterator
- func (Int) Prototype() ld.NodePrototype
- func (n Int) Representation() ld.Node
- func (Int) Type() schema.Type
- type Map__String__Msg3
- func (Map__String__Msg3) AsBool() (bool, error)
- func (Map__String__Msg3) AsBytes() ([]byte, error)
- func (Map__String__Msg3) AsFloat() (float64, error)
- func (Map__String__Msg3) AsInt() (int64, error)
- func (Map__String__Msg3) AsLink() (ld.Link, error)
- func (Map__String__Msg3) AsString() (string, error)
- func (Map__String__Msg3) IsAbsent() bool
- func (Map__String__Msg3) IsNull() bool
- func (n Map__String__Msg3) Iterator() *Map__String__Msg3__Itr
- func (Map__String__Msg3) Kind() ld.Kind
- func (n Map__String__Msg3) Length() int64
- func (Map__String__Msg3) ListIterator() ld.ListIterator
- func (Map__String__Msg3) LookupByIndex(idx int64) (ld.Node, error)
- func (n Map__String__Msg3) LookupByNode(k ld.Node) (ld.Node, error)
- func (n Map__String__Msg3) LookupBySegment(seg ld.PathSegment) (ld.Node, error)
- func (n Map__String__Msg3) LookupByString(k string) (ld.Node, error)
- func (n Map__String__Msg3) MapIterator() ld.MapIterator
- func (Map__String__Msg3) Prototype() ld.NodePrototype
- func (n Map__String__Msg3) Representation() ld.Node
- func (Map__String__Msg3) Type() schema.Type
- type Map__String__Msg3__Itr
- type MaybeInt
- type MaybeMap__String__Msg3
- type MaybeMsg3
- type MaybeString
- type Msg3
- func (Msg3) AsBool() (bool, error)
- func (Msg3) AsBytes() ([]byte, error)
- func (Msg3) AsFloat() (float64, error)
- func (Msg3) AsInt() (int64, error)
- func (Msg3) AsLink() (ld.Link, error)
- func (Msg3) AsString() (string, error)
- func (Msg3) IsAbsent() bool
- func (Msg3) IsNull() bool
- func (Msg3) Kind() ld.Kind
- func (Msg3) Length() int64
- func (Msg3) ListIterator() ld.ListIterator
- func (Msg3) LookupByIndex(idx int64) (ld.Node, error)
- func (n Msg3) LookupByNode(key ld.Node) (ld.Node, error)
- func (n Msg3) LookupBySegment(seg ld.PathSegment) (ld.Node, error)
- func (n Msg3) LookupByString(key string) (ld.Node, error)
- func (n Msg3) MapIterator() ld.MapIterator
- func (Msg3) Prototype() ld.NodePrototype
- func (n Msg3) Representation() ld.Node
- func (Msg3) Type() schema.Type
- type String
- func (String) AsBool() (bool, error)
- func (String) AsBytes() ([]byte, error)
- func (String) AsFloat() (float64, error)
- func (String) AsInt() (int64, error)
- func (String) AsLink() (ld.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Kind() ld.Kind
- func (String) Length() int64
- func (String) ListIterator() ld.ListIterator
- func (String) LookupByIndex(idx int64) (ld.Node, error)
- func (String) LookupByNode(ld.Node) (ld.Node, error)
- func (String) LookupBySegment(seg ld.PathSegment) (ld.Node, error)
- func (String) LookupByString(string) (ld.Node, error)
- func (String) MapIterator() ld.MapIterator
- func (String) Prototype() ld.NodePrototype
- func (n String) Representation() ld.Node
- func (n String) String() string
- func (String) Type() schema.Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Type typeSlab
Type is a struct embeding a NodePrototype/Type for every Node implementation in this package. One of its major uses is to start the construction of a value. You can use it like this:
gendemo.Type.YourTypeName.NewBuilder().BeginMap() //...
and:
gendemo.Type.OtherTypeName.NewBuilder().AssignString("x") // ...
Functions ¶
This section is empty.
Types ¶
type Int ¶
type Int = *_Int
Int matches the LD Schema type "Int". It has int kind.
func (Int) ListIterator ¶
func (Int) ListIterator() ld.ListIterator
func (Int) LookupBySegment ¶
func (Int) MapIterator ¶
func (Int) MapIterator() ld.MapIterator
func (Int) Prototype ¶
func (Int) Prototype() ld.NodePrototype
func (Int) Representation ¶
type Map__String__Msg3 ¶
type Map__String__Msg3 = *_Map__String__Msg3
Map__String__Msg3 matches the LD Schema type "Map__String__Msg3". It has map kind.
func (Map__String__Msg3) AsBool ¶
func (Map__String__Msg3) AsBool() (bool, error)
func (Map__String__Msg3) AsBytes ¶
func (Map__String__Msg3) AsBytes() ([]byte, error)
func (Map__String__Msg3) AsFloat ¶
func (Map__String__Msg3) AsFloat() (float64, error)
func (Map__String__Msg3) AsInt ¶
func (Map__String__Msg3) AsInt() (int64, error)
func (Map__String__Msg3) AsString ¶
func (Map__String__Msg3) AsString() (string, error)
func (Map__String__Msg3) IsAbsent ¶
func (Map__String__Msg3) IsAbsent() bool
func (Map__String__Msg3) IsNull ¶
func (Map__String__Msg3) IsNull() bool
func (Map__String__Msg3) Iterator ¶
func (n Map__String__Msg3) Iterator() *Map__String__Msg3__Itr
func (Map__String__Msg3) Kind ¶
func (Map__String__Msg3) Kind() ld.Kind
func (Map__String__Msg3) Length ¶
func (n Map__String__Msg3) Length() int64
func (Map__String__Msg3) ListIterator ¶
func (Map__String__Msg3) ListIterator() ld.ListIterator
func (Map__String__Msg3) LookupByIndex ¶
func (Map__String__Msg3) LookupByIndex(idx int64) (ld.Node, error)
func (Map__String__Msg3) LookupByNode ¶
func (Map__String__Msg3) LookupBySegment ¶
func (n Map__String__Msg3) LookupBySegment(seg ld.PathSegment) (ld.Node, error)
func (Map__String__Msg3) LookupByString ¶
func (n Map__String__Msg3) LookupByString(k string) (ld.Node, error)
func (Map__String__Msg3) MapIterator ¶
func (n Map__String__Msg3) MapIterator() ld.MapIterator
func (Map__String__Msg3) Prototype ¶
func (Map__String__Msg3) Prototype() ld.NodePrototype
func (Map__String__Msg3) Representation ¶
func (n Map__String__Msg3) Representation() ld.Node
func (Map__String__Msg3) Type ¶
func (Map__String__Msg3) Type() schema.Type
type Map__String__Msg3__Itr ¶
type Map__String__Msg3__Itr struct {
// contains filtered or unexported fields
}
func (*Map__String__Msg3__Itr) Done ¶
func (itr *Map__String__Msg3__Itr) Done() bool
func (*Map__String__Msg3__Itr) Next ¶
func (itr *Map__String__Msg3__Itr) Next() (k String, v Msg3)
type MaybeMap__String__Msg3 ¶
type MaybeMap__String__Msg3 = *_Map__String__Msg3__Maybe
func (MaybeMap__String__Msg3) AsNode ¶
func (m MaybeMap__String__Msg3) AsNode() ld.Node
func (MaybeMap__String__Msg3) Exists ¶
func (m MaybeMap__String__Msg3) Exists() bool
func (MaybeMap__String__Msg3) IsAbsent ¶
func (m MaybeMap__String__Msg3) IsAbsent() bool
func (MaybeMap__String__Msg3) IsNull ¶
func (m MaybeMap__String__Msg3) IsNull() bool
func (MaybeMap__String__Msg3) Must ¶
func (m MaybeMap__String__Msg3) Must() Map__String__Msg3
type MaybeString ¶
type MaybeString = *_String__Maybe
func (MaybeString) AsNode ¶
func (m MaybeString) AsNode() ld.Node
func (MaybeString) Exists ¶
func (m MaybeString) Exists() bool
func (MaybeString) IsAbsent ¶
func (m MaybeString) IsAbsent() bool
func (MaybeString) IsNull ¶
func (m MaybeString) IsNull() bool
func (MaybeString) Must ¶
func (m MaybeString) Must() String
type Msg3 ¶
type Msg3 = *_Msg3
Msg3 matches the LD Schema type "Msg3". It has Struct type-kind, and may be interrogated like map kind.
func (Msg3) ListIterator ¶
func (Msg3) ListIterator() ld.ListIterator
func (Msg3) LookupBySegment ¶
func (Msg3) MapIterator ¶
func (n Msg3) MapIterator() ld.MapIterator
func (Msg3) Prototype ¶
func (Msg3) Prototype() ld.NodePrototype
func (Msg3) Representation ¶
type String ¶
type String = *_String
String matches the LD Schema type "String". It has string kind.
func (String) ListIterator ¶
func (String) ListIterator() ld.ListIterator
func (String) LookupBySegment ¶
func (String) MapIterator ¶
func (String) MapIterator() ld.MapIterator
func (String) Prototype ¶
func (String) Prototype() ld.NodePrototype
func (String) Representation ¶
Click to show internal directories.
Click to hide internal directories.