localescompressed – github.com/gohugoio/localescompressed Index | Files | Directories

package localescompressed

import "github.com/gohugoio/localescompressed"

This file is autogenerated.

This file is autogenerated.

Package localescompressed compresses and wraps all translators in github.com/gohugoio/locales. The translators are not created until asked for in Get.

Index

Functions

func GetCurrency

func GetCurrency(code string) currency.Type

GetCurrency gets the currency for the given ISO 4217 code, or -1 if not found.

func GetTranslator

func GetTranslator(locale string) locales.Translator

GetTranslator gets the Translator for the given locale, nil if not found.

Source Files

currencies.autogen.go localen.go locales.autogen.go locales.go

Directories

PathSynopsis
gen
Version
v1.0.1 (latest)
Published
Feb 14, 2022
Platform
linux/amd64
Imports
7 packages
Last checked
54 minutes ago

Tools for package owners.