godock: github.com/sqp/godock/widgets/cfbuild/valuer Index | Files

package valuer

import "github.com/sqp/godock/widgets/cfbuild/valuer"

Package valuer stores and converts a pointer to interface{}.

Index

Package Files

valuer.go

type Valuer Uses

type Valuer interface {
    Int() int
    Bool() bool
    Float() float64
    String() string
    ListInt() []int
    ListBool() []bool
    ListFloat() []float64
    ListString() []string

    Count() int
    Sprint() string
    SprintI(id int) string
}

Valuer defines an access to a data stored as interface{}.

func New Uses

func New(v *interface{}) Valuer

New creates an access to a data stored as interface{}.

Package valuer imports 1 packages (graph) and is imported by 5 packages. Updated 2016-07-18. Refresh now. Tools for package owners.