template-monorepo/internal/model/notification/domain/template/renderer.go

11 lines
266 B
Go
Raw Permalink Normal View History

package template
import (
"gateway/internal/model/notification/domain/enum"
)
// Renderer renders notification templates for a given kind and locale.
type Renderer interface {
Render(kind enum.NotifyKind, locale string, data map[string]any) (*Rendered, error)
}