element

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

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

func (*Element) ByJson

func (ele *Element) ByJson(element map[string]interface{})

func (*Element) ByJsonString

func (ele *Element) ByJsonString(strJson string) error

func (*Element) Cache

func (ele *Element) Cache()

func (*Element) Drop

func (ele *Element) Drop(field string) error

func (*Element) Field

func (ele *Element) Field(fieldName string, field interface{}) *Element

func (*Element) GetField

func (ele *Element) GetField(fieldName string) interface{}

func (*Element) GetLabel

func (ele *Element) GetLabel() []string

func (*Element) GetProperty

func (ele *Element) GetProperty() map[string]interface{}

func (*Element) Init

func (ele *Element) Init() *Element

func (*Element) InitLabel

func (ele *Element) InitLabel(labels []string) *Element

func (*Element) JsonString

func (ele *Element) JsonString() (string, error)

func (*Element) Label

func (ele *Element) Label(labels []string) *Element

func (*Element) Property

func (ele *Element) Property(element map[string]interface{}) *Element

func (*Element) ReadCache

func (ele *Element) ReadCache()

func (*Element) SetElement

func (ele *Element) SetElement(element map[string]interface{})

func (*Element) Sum

func (ele *Element) Sum() float64

func (*Element) ToArray

func (ele *Element) ToArray() States

func (*Element) ToString

func (ele *Element) ToString() string

Jump to

Keyboard shortcuts

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