value

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value interface {
	String() string
	Float64() (float64, error)
	Int() (int, error)
	Bool() (bool, error)
	IsEmpty() bool
	Cmp(val Value) (int, error)
}

func Empty added in v0.1.4

func Empty() Value

Empty returns the an empty value.

func New

func New(i interface{}) Value

New creates a new value

Jump to

Keyboard shortcuts

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