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) }