ioHelper

package
v0.0.0-...-9bd2c4f Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusNormal status = iota
	StatusError
)

Variables

This section is empty.

Functions

func Decode

func Decode(in io.Reader, v interface{}) (err error)

decode

func FromBytes

func FromBytes(bs []byte) *source

func FromFile

func FromFile(f *os.File) *source

func FromIOReader

func FromIOReader(reader io.Reader) *source

func FromPath

func FromPath(path string) *source

func FromString

func FromString(s string) *source

func FromURL

func FromURL(url string) *source

Types

type CSVOperator

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

func (*CSVOperator) Fill

func (op *CSVOperator) Fill(v interface{}) error

fill up the given struct from pre-defined data source

Jump to

Keyboard shortcuts

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