lcconv

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LngCntry

type LngCntry struct {
	// contains filtered or unexported fields
}

Provides information about language & country

func NewLngCntry

func NewLngCntry(input string) (*LngCntry, error)

func (*LngCntry) Alpha2

func (r *LngCntry) Alpha2() string

Returns the Alpha-2 country code.

func (*LngCntry) Alpha3

func (r *LngCntry) Alpha3() string

Returns the Alpha-3 country code.

func (*LngCntry) HttpHeader

func (r *LngCntry) HttpHeader() string

func (*LngCntry) ISO6391

func (r *LngCntry) ISO6391() string

Returns the 2-character language code.

Jump to

Keyboard shortcuts

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