You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
381 B

package events
import "fmt"
type AliasAdded struct {
ID string
Alias string
}
func (e AliasAdded) EventDescription() string {
return fmt.Sprintf("AliasAdded(id=%s, alias=%s)", e.ID, e.Alias)
}
type AliasRemoved struct {
ID string
Alias string
}
func (e AliasRemoved) EventDescription() string {
return fmt.Sprintf("AliasRemoved(id=%s, alias=%s)", e.ID, e.Alias)
}