Affected by GO-2026-4421
and 7 other vulnerabilities
GO-2026-4421 : Apache Answer Exposure of Private Personal Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6147 : Apache Answer has an Improper Neutralization of Alternate XSS Syntax vulnerability in github.com/apache/answer
GO-2026-6148 : Apache Answer has an Exposure of Private Personal Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6151 : Apache Answer vulnerable to Cross-site Scripting in github.com/apache/answer
GO-2026-6152 : Apache Answer has an Exposure of Sensitive Information to an Unauthorized Actor vulnerability in github.com/apache/answer
GO-2026-6153 : Apache Answer has an Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/answer
GO-2026-6154 : Apache Answer has an Unrestricted Upload of File with Dangerous Type vulnerability in github.com/apache/answer
GO-2026-6249 : Apache Answer: AdminToken not invalidated after admin deactivation in github.com/apache/answer
Discover Packages
github.com/apache/answer
internal
base
translator
package
Version:
v1.7.1
Opens a new window with list of versions in this module.
Published: Dec 15, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
DefaultLangOption default language option. If user config the language is default, the language option is admin choose.
ProviderSet is providers.
CheckLanguageIsValid check user input language is valid
NewTranslator new a translator
Tr use language to translate data. If this language translation is not available, return default english translation.
TrWithData translate key with template data, it will replace the template data {{ .PlaceHolder }} in the translation.
type I18n struct {
BundleDir string `json:"bundle_dir" mapstructure:"bundle_dir" yaml:"bundle_dir"`
}
I18n i18n config
type LangOption struct {
Label string `json:"label"`
Value string `json:"value"`
Progress int `json:"progress"`
}
LangOption language option
Source Files
¶
Click to show internal directories.
Click to hide internal directories.