localescompressed

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 7 Imported by: 12

README

GoDoc Go

The locales from https://github.com/gohugoio/locales in one package/struct.

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL