lango

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCodeByName

func GetCodeByName(name string) (string, error)

func GetCodeByNative

func GetCodeByNative(native string) (string, error)

Types

type Language

type Language struct {
	Code   string   `json:"code"`
	Name   []string `json:"name"`
	Native []string `json:"native"`
}

func GetLanguageByCode

func GetLanguageByCode(code string) (Language, error)

func GetLanguageByName

func GetLanguageByName(name string) (Language, error)

func GetLanguageByNative

func GetLanguageByNative(native string) (Language, error)

Jump to

Keyboard shortcuts

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