from

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TUnknown 未知
	TUnknown byte = iota
	// TBool bool
	TBool
	// TDatetime 日期时间
	TDatetime
	// TError 错误
	TError
	// TNumber 数字
	TNumber
	// TString 字符串
	TString
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name string
	Type byte
	Axis string
}

Column 源数据列

type Inspect

type Inspect struct {
	SheetName  string
	SheetIndex int
	ColStart   int
	RowStart   int
}

Inspect 基础信息

type Source

type Source interface {
	Data(row int, size int, axises []string) [][]interface{}
	Columns() []Column
	Chunk(size int, axises []string, cb func(line int, data [][]interface{}))
	Inspect() Inspect
	Close() error
}

Source 导入文件接口

Jump to

Keyboard shortcuts

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