q5/xparams.go
aozhiwei a3ab521064 1
2020-09-08 17:00:41 +08:00

22 lines
331 B
Go

package q5
type XParams struct {
Sender XValue
Param1 XValue
Param2 XValue
Param3 XValue
}
func (this *XParams) Reset() *XParams {
this.Sender.Reset()
this.Param1.Reset()
this.Param2.Reset()
this.Param3.Reset()
return this
}
func (this *XParams) Init(initFunc func (*XParams)) *XParams {
initFunc(this)
return this
}