namevalue

package
v1.3.55 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	Name  string
	Value interface{}
}

func AppendsIf

func AppendsIf(
	isAdd bool,
	nameValues []Instance,
	appendingItems ...Instance,
) []Instance

func PrependsIf

func PrependsIf(
	isAdd bool,
	nameValues []Instance,
	prependingItems ...Instance,
) []Instance

func (*Instance) Dispose

func (it *Instance) Dispose()

func (*Instance) IsNull

func (it *Instance) IsNull() bool

func (Instance) JsonString

func (it Instance) JsonString() string

func (Instance) String

func (it Instance) String() string

type NameValuesCollection

type NameValuesCollection struct {
	Items []Instance `json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func EmptyNameValuesCollection

func EmptyNameValuesCollection() *NameValuesCollection

func NewCollection

func NewCollection() *NameValuesCollection

func NewNameValuesCollection

func NewNameValuesCollection(capacity int) *NameValuesCollection

func NewNewNameValuesCollectionUsing

func NewNewNameValuesCollectionUsing(
	isClone bool,
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) Add

func (*NameValuesCollection) Adds

func (it *NameValuesCollection) Adds(
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) AddsIf

func (it *NameValuesCollection) AddsIf(
	isAdd bool,
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) AddsPtr

func (it *NameValuesCollection) AddsPtr(
	items ...*Instance,
) *NameValuesCollection

func (*NameValuesCollection) Append

func (it *NameValuesCollection) Append(
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) AppendIf

func (it *NameValuesCollection) AppendIf(
	isAppend bool,
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) AppendPrependIf

func (it *NameValuesCollection) AppendPrependIf(
	isAppendOrPrepend bool,
	prependItems []Instance,
	appendItems []Instance,
) *NameValuesCollection

func (*NameValuesCollection) AppendUsingFuncIf

func (it *NameValuesCollection) AppendUsingFuncIf(
	isAppend bool,
	itemsGetterFunc func() []Instance,
) *NameValuesCollection

func (*NameValuesCollection) Clear

func (NameValuesCollection) Clone

func (*NameValuesCollection) ClonePtr

func (*NameValuesCollection) CompiledLazyString

func (it *NameValuesCollection) CompiledLazyString() string

func (*NameValuesCollection) ConcatNew

func (it *NameValuesCollection) ConcatNew(
	additionalItems ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) ConcatNewPtr

func (it *NameValuesCollection) ConcatNewPtr(
	additionalItems ...*Instance,
) *NameValuesCollection

func (*NameValuesCollection) Count

func (it *NameValuesCollection) Count() int

func (*NameValuesCollection) CsvStrings

func (it *NameValuesCollection) CsvStrings() []string

func (*NameValuesCollection) Dispose

func (it *NameValuesCollection) Dispose()

func (*NameValuesCollection) Error

func (it *NameValuesCollection) Error() error

func (*NameValuesCollection) ErrorUsingMessage

func (it *NameValuesCollection) ErrorUsingMessage(message string) error

func (*NameValuesCollection) HasAnyItem

func (it *NameValuesCollection) HasAnyItem() bool

func (*NameValuesCollection) HasCompiledString

func (it *NameValuesCollection) HasCompiledString() bool

func (*NameValuesCollection) HasIndex

func (it *NameValuesCollection) HasIndex(index int) bool

func (*NameValuesCollection) InvalidateLazyString

func (it *NameValuesCollection) InvalidateLazyString()

func (*NameValuesCollection) IsEmpty

func (it *NameValuesCollection) IsEmpty() bool

func (*NameValuesCollection) IsEqual

func (it *NameValuesCollection) IsEqual(another *NameValuesCollection) bool

func (*NameValuesCollection) IsEqualItems

func (it *NameValuesCollection) IsEqualItems(lines ...Instance) bool

func (*NameValuesCollection) Join

func (it *NameValuesCollection) Join(joiner string) string

func (*NameValuesCollection) JoinCsv

func (it *NameValuesCollection) JoinCsv() string

func (*NameValuesCollection) JoinCsvLine

func (it *NameValuesCollection) JoinCsvLine() string

func (*NameValuesCollection) JoinJsonStrings

func (it *NameValuesCollection) JoinJsonStrings(joiner string) string

func (*NameValuesCollection) JoinLines

func (it *NameValuesCollection) JoinLines() string

func (NameValuesCollection) JsonString

func (it NameValuesCollection) JsonString() string

func (*NameValuesCollection) JsonStrings

func (it *NameValuesCollection) JsonStrings() []string

func (*NameValuesCollection) LastIndex

func (it *NameValuesCollection) LastIndex() int

func (*NameValuesCollection) Length

func (it *NameValuesCollection) Length() int

func (*NameValuesCollection) Prepend

func (it *NameValuesCollection) Prepend(
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) PrependIf

func (it *NameValuesCollection) PrependIf(
	isPrepend bool,
	items ...Instance,
) *NameValuesCollection

func (*NameValuesCollection) PrependUsingFuncIf

func (it *NameValuesCollection) PrependUsingFuncIf(
	isPrepend bool,
	itemsGetterFunc func() []Instance,
) *NameValuesCollection

func (*NameValuesCollection) String

func (it *NameValuesCollection) String() string

func (*NameValuesCollection) Strings

func (it *NameValuesCollection) Strings() []string

Jump to

Keyboard shortcuts

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