language

package
v0.0.1-202404151119 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAcceptLanguage

func ParseAcceptLanguage(languages string, supportedLanguages []string) []string

ParseAcceptLanguage returns RFC1766 language codes parsed and sorted from languages.

If supportedLanguages is not empty, the returned codes will be filtered by its contents.

Types

This section is empty.

Jump to

Keyboard shortcuts

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