Versions in this module Expand all Collapse all v0 v0.1.1 Feb 22, 2024 Changes in this version + type Config struct + Dir string + FileType string v0.1.0 Feb 22, 2024 Changes in this version + const Json + const Toml + const Yaml + var ErrorInvalidDir = errors.New("dir does not exist") + type Translator interface + Translate func(langCode, key string, args ...map[string]any) string + func New(dir, fileType string) Translator