safe

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VOID = iota
	INT
	BOOL
	FLOAT
	STRING
	ARRAY
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Array added in v1.1.0

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

new type

func NewArray added in v1.1.0

func NewArray() *Array

func (*Array) Get added in v1.1.0

func (my *Array) Get() []interface{}

type Bool added in v1.1.0

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

new type

func NewBool added in v1.1.0

func NewBool() *Bool

func (*Bool) Get added in v1.1.0

func (my *Bool) Get() bool

func (*Bool) Set added in v1.1.0

func (my *Bool) Set(v bool)

type Float added in v1.1.0

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

new type

func NewFloat added in v1.1.0

func NewFloat() *Float

func (*Float) Get added in v1.1.0

func (my *Float) Get() float64

func (*Float) Set added in v1.1.0

func (my *Float) Set(v float64)

type Getter added in v1.1.0

type Getter interface {
	Get() Void
}

type GlobalManager added in v1.1.0

type GlobalManager struct{}

new type

type Int added in v1.1.0

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

new type

func NewInt added in v1.1.0

func NewInt() *Int

func (*Int) Get added in v1.1.0

func (my *Int) Get() int64

func (*Int) Set added in v1.1.0

func (my *Int) Set(v int64)

type Setter added in v1.1.0

type Setter interface {
	Set(Void)
}

type String added in v1.1.0

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

new type

func NewString added in v1.1.0

func NewString() *String

func (*String) Get added in v1.1.0

func (my *String) Get() string

func (*String) Set added in v1.1.0

func (my *String) Set(v string)

type Void added in v1.1.0

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

new type

Jump to

Keyboard shortcuts

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