Help us shape the future of Go! Take the 2026 Go Developer Survey

locale

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package locale reads a setting that names a locale as a BCP 47 language tag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tag

func Tag(e gonsole.Env, name, fallback string) (string, error)

Tag returns the setting as a canonical BCP 47 language tag that names a language, the fallback when it is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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