fix doc string for NotifyMessageLocalizer

This commit is contained in:
Pavel 2023-01-10 10:36:08 +03:00 committed by GitHub
parent 594d565d1e
commit 6385bc177f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ type Processor interface {
Process(id int, counter Counter) bool Process(id int, counter Counter) bool
} }
// NotifyMessageLocalizer is the smallest subset of core.Localizer used in the // NotifyMessageLocalizer is the smallest subset of core.Localizer used in the Processor implementation.
type NotifyMessageLocalizer interface { type NotifyMessageLocalizer interface {
SetLocale(locale string) SetLocale(locale string)
GetLocalizedTemplateMessage(messageID string, templateData map[string]interface{}) string GetLocalizedTemplateMessage(messageID string, templateData map[string]interface{}) string