locales

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package locales provides helpers to work with locales.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyInput       = errors.New("locales: input is empty")
	ErrNoMatchingLocale = errors.New("locales: no matching locale found")
)

Functions

func DescriptiveName

func DescriptiveName(code string) (string, error)

DescriptiveName returns the long descriptive version of the code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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