office/office.go

19 lines
291 B
Go
Raw Permalink Normal View History

2024-11-22 16:33:58 +08:00
package office
import (
"apigo.cc/gojs"
)
func init() {
obj := map[string]any{
"openExcel": OpenExcel,
"makeCellID": MakeCellID,
"parseCellID": ParseCellID,
}
gojs.Register("apigo.cc/gojs/office", gojs.Module{
Object: gojs.ToMap(obj),
TsCode: gojs.MakeTSCode(obj),
})
}