GoWinLang

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 4 Imported by: 0

README

GoWinLang

Detect Windows user language in Go

Installation

go get github.com/ChromeTemp/GoWinLang

Usage

package main

import "github.com/ChromeTemp/GoWinLang"

main() {
    language := GoWinLang.DetectLanguage()
    fmt.Println("Your main language: " + language)
    // Output: Your main language: en
}

Documentation

Index

Constants

View Source
const LOCALE_NAME_MAX_LENGTH uint32 = 85

Variables

This section is empty.

Functions

func DetectLanguage

func DetectLanguage() (language string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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