office/office.go
2024-12-13 19:27:15 +08:00

20 lines
319 B
Go

package office
import (
"apigo.cc/gojs"
)
func init() {
obj := map[string]any{
"openExcel": OpenExcel,
"makeCellID": MakeCellID,
"makeColID": MakeColID,
"parseCellID": ParseCellID,
}
gojs.Register("apigo.cc/gojs/office", gojs.Module{
Object: gojs.ToMap(obj),
TsCode: gojs.MakeTSCode(obj),
})
}