value

package
v0.0.0-...-f2f35e6 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: BSD-2-Clause Imports: 5 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)
	UInt64() (uint64, error)
	Bool() (bool, error)
	IsEmpty() bool
	Cmp(val Value) (int, error)
}

Value represents a value of any type.

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