check type

This commit is contained in:
pocke 2015-01-12 15:13:13 +09:00
parent cdbd2a79f8
commit db364bc6ef
1 changed files with 2 additions and 0 deletions

View File

@ -19,3 +19,5 @@ func (e *EventNotDefined) Error() string {
func (e *EventNotDefined) EventName() string {
return e.eventName
}
var _ error = newEventNotDefined("foo")