unit

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VT_COUNTER               = core.VT_USER_DEFINED + 1
	VT_CUSTOM_NUMBER         = core.VT_USER_DEFINED + 2
	VT_STRING_ARRAY          = core.VT_USER_DEFINED + 3
	VT_STRING_CIRCLE         = core.VT_USER_DEFINED + 4
	VT_STRING_DICT           = core.VT_USER_DEFINED + 5
	VT_STRING_ARRAY_ITERATOR = core.VT_USER_DEFINED + 6
)

Functions

func NewCounterValue

func NewCounterValue(val int64) core.Value

func NewCustomNumberValue

func NewCustomNumberValue(val int64) core.Value

func NewStringArrayIteratorValue

func NewStringArrayIteratorValue(arr *StringArray) core.Value

func NewStringArrayValue

func NewStringArrayValue(vals []string) core.Value

func NewStringCircleValue

func NewStringCircleValue(vals []string) core.Value

func NewStringDictValue

func NewStringDictValue(vals map[string]string) core.Value

Types

type Counter

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

type CustomNumber

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

type StringArray

type StringArray struct {
	Value []string
}

type StringArrayIterator

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

type StringCircle

type StringCircle struct {
	Value []string
}

type StringDict

type StringDict struct {
	Value map[string]string
}

Directories

Path Synopsis
stdlib

Jump to

Keyboard shortcuts

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