Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Read ¶
type Read struct { Lu Cell // 左上单元格坐标 Rd Cell // 右下单元格坐标 Sheet string // 工作表名称 // contains filtered or unexported fields }
func NewRead ¶
func NewRead(opts ...ReadOption) *Read
type ReadOption ¶
type ReadOption func(*Read)
func WithFile ¶
func WithFile(file string) ReadOption
func WithLu ¶
func WithLu(lu Cell) ReadOption
func WithRd ¶
func WithRd(rd Cell) ReadOption
func WithSheet ¶
func WithSheet(sheet string) ReadOption
type Write ¶ added in v0.9.4
type Write struct { Filepath string // 文件路径 Sheet string // 工作表名称 Head []string // 表头 Data [][]string // 数据 }
func NewWrite ¶ added in v0.9.4
func NewWrite(opts ...WriteOption) *Write
type WriteOption ¶ added in v0.9.4
type WriteOption func(*Write)
func WithData ¶ added in v0.9.4
func WithData(data [][]string) WriteOption
func WithFilepath ¶ added in v0.9.4
func WithFilepath(filepath string) WriteOption
func WithHead ¶ added in v0.9.4
func WithHead(head []string) WriteOption
func WithWriteSheet ¶ added in v0.9.4
func WithWriteSheet(sheet string) WriteOption
Click to show internal directories.
Click to hide internal directories.