valuer

package
v0.0.0-...-0caaa62 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 1 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Valuer

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

func New(v *interface{}) Valuer

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

Jump to

Keyboard shortcuts

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