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 }