tag

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(tagName string, displayName string)

Register makes a language tag available by the provided name. If Register is called twice with the same name or if tag is empty, it panics.

Types

type Language

type Language struct {
	Tag         language.Tag
	TagName     string
	DisplayName string
}

Language ...

func Languages

func Languages() []Language

Languages ...

Jump to

Keyboard shortcuts

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