package message func (m *LocalizedMessage) LocalizationKey() string { return m.Key } func (m *LocalizedMessage) SetLocalizedMessage(message string) { m.LocalizedMessage = message } func NewLocalizedEventType(key string) *LocalizedMessage { return &LocalizedMessage{Key: "EventTypes." + key} } func NewLocalizedMessage(key string) *LocalizedMessage { return &LocalizedMessage{Key: key} }