util

package
v0.0.0-...-3457ba0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeExtension

func ChangeExtension(filename, newExt string) string

func R1C1ToA1

func R1C1ToA1(r, c int) string

r,c都是base1

func StringEscape

func StringEscape(s string) string

func StringToPrimitive

func StringToPrimitive(str string, value interface{}) (error, bool)

func StringWrap

func StringWrap(s string) string

Types

type TableCache

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

func NewTableCache

func NewTableCache(name, cachedir string) *TableCache

func (*TableCache) Load

func (self *TableCache) Load() (xf *xlsx.File, err error)

func (*TableCache) Open

func (self *TableCache) Open() error

func (*TableCache) Save

func (self *TableCache) Save() error

func (*TableCache) UseCache

func (self *TableCache) UseCache() bool

type XlsxFileCache

type XlsxFileCache struct {
	Name   string
	Sheets []*XlsxSheet
}

type XlsxHashFile

type XlsxHashFile struct {
	CRC32Map map[string]uint32
}

type XlsxSheet

type XlsxSheet struct {
	Name  string
	Cells [][]string
}

Jump to

Keyboard shortcuts

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