1 Star 0 Fork 0

WFL / xexcelize

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
link.go 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
WFL 提交于 2021-03-16 12:22 . feat: 项目初始化
/*
* 用于关联excelize包中的私有函数和方法
*/
package stream
import (
"bytes"
"encoding/xml"
"github.com/360EntSecGroup-Skylar/excelize/v2"
_ "github.com/360EntSecGroup-Skylar/excelize/v2"
"os"
_ "unsafe"
)
type xlsxWorksheetRef struct {
}
type StreamWriterRef struct {
File *excelize.File
Sheet string
SheetID int
worksheet *xlsxWorksheetRef
rawData bufferedWriterRef
tableParts string
}
type bufferedWriterRef struct {
tmp *os.File
buf bytes.Buffer
}
type xlsxFRef struct {
}
type xlsxSIRef struct {
}
type xlsxCRef struct {
XMLName xml.Name `xml:"c"`
XMLSpace xml.Attr `xml:"space,attr,omitempty"`
R string `xml:"r,attr,omitempty"` // Cell ID, e.g. A1
S int `xml:"s,attr,omitempty"` // Style reference.
// Str string `xml:"str,attr,omitempty"` // Style reference.
T string `xml:"t,attr,omitempty"` // Type.
F *xlsxFRef `xml:"f,omitempty"` // Formula
V string `xml:"v,omitempty"` // Value
IS *xlsxSIRef `xml:"is"`
}
//go:linkname setCellValFunc github.com/360EntSecGroup-Skylar/excelize/v2.setCellValFunc
func setCellValFunc(c *xlsxCRef, val interface{}) (err error)
//go:linkname (*bufferedWriterRef).Write github.com/360EntSecGroup-Skylar/excelize/v2.(*bufferedWriter).Write
func (bw *bufferedWriterRef) Write(p []byte) (n int, err error)
//go:linkname (*bufferedWriterRef).WriteString github.com/360EntSecGroup-Skylar/excelize/v2.(*bufferedWriter).WriteString
func (bw *bufferedWriterRef) WriteString(p string) (n int, err error)
//go:linkname (*bufferedWriterRef).Sync github.com/360EntSecGroup-Skylar/excelize/v2.(*bufferedWriter).Sync
func (bw *bufferedWriterRef) Sync() (err error)
Go
1
https://gitee.com/sqxwww/xexcelize.git
git@gitee.com:sqxwww/xexcelize.git
sqxwww
xexcelize
xexcelize
v1.0.0

搜索帮助