19 lines
291 B
Go
19 lines
291 B
Go
|
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),
|
||
|
})
|
||
|
}
|