Documentation
¶
Index ¶
- func AllIndividualItemsCount(first *Collection, collections ...*Collection) int
- func LengthOfEachItems(manyCollections [][]ref.Value) int
- func LengthOfEachItemsPtr(manyCollections *[]*[]*ref.Value) int
- type Collection
- func Empty() Collection
- func EmptyPtr() *Collection
- func New(capacity int) *Collection
- func NewDirectItem(varName string, val interface{}) *Collection
- func NewExistingCollectionPlusAddition(existingReferences *Collection, newReferences []ref.Value) *Collection
- func NewExistingPlusAddition(existingReferences []ref.Value, newReferences ...ref.Value) *Collection
- func NewFromDataModelPtr(model *CollectionDataModel) *Collection
- func NewUsingCollection(isCloneSingleItems bool, first *Collection, items ...*Collection) *Collection
- func NewUsingMany(manyCollections ...[]ref.Value) *Collection
- func NewUsingRefs(isClone bool, items ...ref.Value) *Collection
- func NewUsingRefsOrNil(items ...ref.Value) *Collection
- func NewWithItem(capacity int, varName string, val interface{}) *Collection
- func (it *Collection) Add(name string, val interface{}) *Collection
- func (it *Collection) AddCollection(collections ...*Collection) *Collection
- func (it *Collection) AddCollectionCloned(collections ...*Collection) *Collection
- func (it *Collection) AddMap(collectionMap map[string]interface{}) *Collection
- func (it *Collection) Adds(refs ...ref.Value) *Collection
- func (it *Collection) AddsByCloningItems(refs ...ref.Value) *Collection
- func (it *Collection) AddsPtr(refs ...*ref.Value) *Collection
- func (it *Collection) AddsPtrByCloningItems(refs ...*ref.Value) *Collection
- func (it *Collection) AsJsonMarshaller() corejson.JsonMarshaller
- func (it *Collection) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector
- func (it *Collection) AsJsoner() corejson.Jsoner
- func (it Collection) Clone() Collection
- func (it *Collection) ClonePtr() *Collection
- func (it *Collection) Collection() []ref.Value
- func (it *Collection) ConcatNew(isSingleItemsClone bool, collections ...*Collection) *Collection
- func (it *Collection) Dispose()
- func (it *Collection) IsEmpty() bool
- func (it *Collection) IsEqual(another *Collection) bool
- func (it *Collection) IsNull() bool
- func (it Collection) Json() corejson.Result
- func (it *Collection) JsonModel() *CollectionDataModel
- func (it *Collection) JsonModelAny() interface{}
- func (it *Collection) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it Collection) JsonPtr() *corejson.Result
- func (it *Collection) Length() int
- func (it *Collection) MarshalJSON() ([]byte, error)
- func (it *Collection) ParseInjectUsingJson(jsonResult *corejson.Result) (*Collection, error)
- func (it *Collection) ParseInjectUsingJsonMust(jsonResult *corejson.Result) *Collection
- func (it *Collection) String() string
- func (it *Collection) Strings() []string
- func (it *Collection) UnmarshalJSON(data []byte) error
- type CollectionDataModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllIndividualItemsCount ¶ added in v0.6.8
func AllIndividualItemsCount(first *Collection, collections ...*Collection) int
func LengthOfEachItems ¶ added in v0.5.4
func LengthOfEachItemsPtr ¶ added in v0.5.4
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
func Empty ¶
func Empty() Collection
func EmptyPtr ¶ added in v0.7.9
func EmptyPtr() *Collection
func New ¶
func New(capacity int) *Collection
func NewDirectItem ¶ added in v0.3.9
func NewDirectItem(varName string, val interface{}) *Collection
func NewExistingCollectionPlusAddition ¶ added in v0.5.4
func NewExistingCollectionPlusAddition( existingReferences *Collection, newReferences []ref.Value, ) *Collection
func NewExistingPlusAddition ¶ added in v0.5.4
func NewExistingPlusAddition( existingReferences []ref.Value, newReferences ...ref.Value, ) *Collection
func NewFromDataModelPtr ¶ added in v0.4.0
func NewFromDataModelPtr(model *CollectionDataModel) *Collection
func NewUsingCollection ¶ added in v0.6.8
func NewUsingCollection( isCloneSingleItems bool, first *Collection, items ...*Collection, ) *Collection
func NewUsingMany ¶ added in v0.5.4
func NewUsingMany( manyCollections ...[]ref.Value, ) *Collection
func NewUsingRefs ¶ added in v0.6.8
func NewUsingRefs( isClone bool, items ...ref.Value, ) *Collection
func NewUsingRefsOrNil ¶ added in v0.7.9
func NewUsingRefsOrNil( items ...ref.Value, ) *Collection
func NewWithItem ¶
func NewWithItem(capacity int, varName string, val interface{}) *Collection
func (*Collection) Add ¶
func (it *Collection) Add( name string, val interface{}, ) *Collection
func (*Collection) AddCollection ¶ added in v0.6.8
func (it *Collection) AddCollection( collections ...*Collection, ) *Collection
func (*Collection) AddCollectionCloned ¶ added in v0.6.8
func (it *Collection) AddCollectionCloned( collections ...*Collection, ) *Collection
func (*Collection) AddMap ¶
func (it *Collection) AddMap( collectionMap map[string]interface{}, ) *Collection
func (*Collection) Adds ¶
func (it *Collection) Adds( refs ...ref.Value, ) *Collection
func (*Collection) AddsByCloningItems ¶ added in v0.7.9
func (it *Collection) AddsByCloningItems( refs ...ref.Value, ) *Collection
func (*Collection) AddsPtr ¶ added in v0.3.9
func (it *Collection) AddsPtr( refs ...*ref.Value, ) *Collection
func (*Collection) AddsPtrByCloningItems ¶ added in v0.7.9
func (it *Collection) AddsPtrByCloningItems( refs ...*ref.Value, ) *Collection
func (*Collection) AsJsonMarshaller ¶ added in v0.4.0
func (it *Collection) AsJsonMarshaller() corejson.JsonMarshaller
func (*Collection) AsJsonParseSelfInjector ¶ added in v0.4.0
func (it *Collection) AsJsonParseSelfInjector() corejson.JsonParseSelfInjector
func (*Collection) AsJsoner ¶ added in v0.4.0
func (it *Collection) AsJsoner() corejson.Jsoner
func (Collection) Clone ¶ added in v0.7.9
func (it Collection) Clone() Collection
func (*Collection) ClonePtr ¶ added in v0.1.9
func (it *Collection) ClonePtr() *Collection
func (*Collection) Collection ¶ added in v0.0.4
func (it *Collection) Collection() []ref.Value
func (*Collection) ConcatNew ¶ added in v0.6.8
func (it *Collection) ConcatNew( isSingleItemsClone bool, collections ...*Collection, ) *Collection
func (*Collection) Dispose ¶ added in v0.7.9
func (it *Collection) Dispose()
func (*Collection) IsEmpty ¶
func (it *Collection) IsEmpty() bool
func (*Collection) IsEqual ¶ added in v0.0.4
func (it *Collection) IsEqual( another *Collection, ) bool
func (*Collection) IsNull ¶ added in v0.7.9
func (it *Collection) IsNull() bool
func (Collection) Json ¶ added in v0.4.0
func (it Collection) Json() corejson.Result
func (*Collection) JsonModel ¶ added in v0.4.0
func (it *Collection) JsonModel() *CollectionDataModel
func (*Collection) JsonModelAny ¶ added in v0.4.0
func (it *Collection) JsonModelAny() interface{}
func (*Collection) JsonParseSelfInject ¶ added in v0.4.0
func (it *Collection) JsonParseSelfInject( jsonResult *corejson.Result, ) error
func (Collection) JsonPtr ¶ added in v0.7.9
func (it Collection) JsonPtr() *corejson.Result
func (*Collection) Length ¶
func (it *Collection) Length() int
func (*Collection) MarshalJSON ¶ added in v0.4.0
func (it *Collection) MarshalJSON() ([]byte, error)
func (*Collection) ParseInjectUsingJson ¶ added in v0.4.0
func (it *Collection) ParseInjectUsingJson( jsonResult *corejson.Result, ) (*Collection, error)
func (*Collection) ParseInjectUsingJsonMust ¶ added in v0.4.0
func (it *Collection) ParseInjectUsingJsonMust( jsonResult *corejson.Result, ) *Collection
ParseInjectUsingJsonMust Panic if error
func (*Collection) String ¶
func (it *Collection) String() string
func (*Collection) Strings ¶
func (it *Collection) Strings() []string
func (*Collection) UnmarshalJSON ¶ added in v0.4.0
func (it *Collection) UnmarshalJSON(data []byte) error
type CollectionDataModel ¶ added in v0.4.0
func NewDataModel ¶ added in v0.4.0
func NewDataModel(collection *Collection) *CollectionDataModel
Click to show internal directories.
Click to hide internal directories.