Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type StructVarDemo ¶
type StructVarDemo struct { StringField string IntField int32 BoolField bool FloatField float64 // contains filtered or unexported fields }
定义结构类型的变量 结构类型将属性和函数导出为JS可调用类型 大写字母开头
var JSStructVarDemo *StructVarDemo
func (*StructVarDemo) FuncMaxParam ¶
func (m *StructVarDemo) FuncMaxParam(p1, p2, p3, p4, p5, p6, p7, p8, p9 string)
定义导出函数参数最多为9个
Click to show internal directories.
Click to hide internal directories.