Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 343 Bytes
package gform
type EventArg struct {
sender Controller
data interface{}
}
func NewEventArg(sender Controller, data interface{}) *EventArg {
ea := new(EventArg)
ea.sender, ea.data = sender, data
return ea
}
func (this *EventArg) Sender() Controller {
return this.sender
}
func (this *EventArg) Data() interface{} {
return this.data
}
Jump to Line
Something went wrong with that request. Please try again.