tbl

package module
v0.0.0-...-6813bae Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

tbl-go

xlsx->tbl

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sheet

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

func LoadFile

func LoadFile(t reflect.Type, tblPath string) (s *Sheet, err error)

func (*Sheet) CreateIndex

func (s *Sheet) CreateIndex(field string) (err error)

func (*Sheet) FindByIndex

func (s *Sheet) FindByIndex(field string, key interface{}) (pb.Message, error)

func (*Sheet) Foreach

func (s *Sheet) Foreach(callback func(m pb.Message) error) (err error)

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

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