Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

21 lines
307 B
Go

package export
type Rower interface {
GetCells() []interface{}
}
type ExcelSheeter interface {
GetSheetName() string
GetRows() []Rower
}
type TitleSlice []string
func (t TitleSlice) GetCells() []interface{} {
list := []interface{}{}
for _, v := range t {
list = append(list, v)
}
return list
}