MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / Normalizer

Struct Normalizer

internal/model/normalize.go:9–12  ·  view source on GitHub ↗

Normalizer keeps incoming state consistent with the current runtime rules.

Source from the content-addressed store, hash-verified

7
8// Normalizer keeps incoming state consistent with the current runtime rules.
9type Normalizer struct {
10 baseLocale string
11 locales map[string]string
12}
13
14func NewNormalizer(baseLocale string, availableLocales map[string]string) Normalizer {
15 cloned := make(map[string]string, len(availableLocales))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected