flat

package module
v0.0.0-...-35e8258 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: Apache-2.0 Imports: 6 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flat

type Flat struct {
	Path       string
	Delimeter  rune
	Ltrim      bool
	Rtrim      bool
	StringMark []string
	Config     toolkit.M
	// contains filtered or unexported fields
}

func New

func New(path string, r bool, w bool) *Flat

func (*Flat) Close

func (f *Flat) Close() error

func (*Flat) Move

func (f *Flat) Move(step int, from MoveFromEnum) error

func (*Flat) MoveRead

func (f *Flat) MoveRead(obj interface{}, step int, from MoveFromEnum) error

func (*Flat) Open

func (f *Flat) Open() error

func (*Flat) Read

func (f *Flat) Read(obj interface{}) error

func (*Flat) ReadM

func (f *Flat) ReadM() (m toolkit.M, e error)

func (*Flat) ReadString

func (f *Flat) ReadString() (txt string, e error)

func (*Flat) Reset

func (f *Flat) Reset() error

func (*Flat) SplitToM

func (f *Flat) SplitToM(txt string) *toolkit.M

func (*Flat) Write

func (f *Flat) Write(obj interface{}) error

type MetaData

type MetaData struct {
	Name  string
	Type  string
	Valid bool
}

type MoveFromEnum

type MoveFromEnum int
var (
	MoveFromFirst    MoveFromEnum = 0
	MoveFromRelative              = 1
)

Jump to

Keyboard shortcuts

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