Affected by GO-2023-1894
and 1 other vulnerabilities
GO-2023-1894: code.gitea.io/gitea Open Redirect vulnerability
GO-2024-3056: Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea
package
Version:
v1.19.1
Opens a new window with list of versions in this module.
Published: Apr 13, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 17
Opens a new window with list of known importers.
Documentation
¶
InitLocales loads the locales
Match matches accept languages
type LangType struct {
Lang, Name string
}
LangType represents a lang type
AllLangs returns all supported languages sorted by name
Locale represents an interface to translation
NewLocale return a locale
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.