Documentation ¶ Index ¶ Constants type Cell func NewCellWithNumber(row uint64, col uint64, number interface{}) *Cell func NewCellWithText(row uint64, col uint64, text string) *Cell func NewCellWithTextForInline(row uint64, col uint64, text string) *Cell type Formula Constants ¶ View Source const ( STCellTypeNumber = "n" STCellTypeInlineStr = "inlineStr" STCellTypeSharedString = "s" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cell ¶ type Cell struct { Reference string `xml:"r,attr"` Style *uint `xml:"s,attr"` Type string `xml:"t,attr"` Formula *Formula Value *string `xml:"v"` IS *inlineStr `xml:"is"` // contains filtered or unexported fields } Cell 单元格结构定义 func NewCellWithNumber ¶ func NewCellWithNumber(row uint64, col uint64, number interface{}) *Cell func NewCellWithText ¶ func NewCellWithText(row uint64, col uint64, text string) *Cell func NewCellWithTextForInline ¶ func NewCellWithTextForInline(row uint64, col uint64, text string) *Cell type Formula ¶ type Formula struct { Name xml.Name `xml:"f"` } Source Files ¶ View all Source files cell.go formula.go inline_str.go Click to show internal directories. Click to hide internal directories.