Documentation ¶
Index ¶
- type LanguageFile
- func (l *LanguageFile) GetConfigurationPerLanguageMapping() map[string][]string
- func (l *LanguageFile) GetExcludedFolders() []string
- func (l *LanguageFile) GetLanguageByAlias(alias string) (LanguageItem, error)
- func (l *LanguageFile) GetLanguageByName(name string) (LanguageItem, error)
- func (l *LanguageFile) GetLanguageByNameOrAlias(name string) (LanguageItem, error)
- func (l *LanguageFile) GetLanguagesByExtension(extension string) []LanguageItem
- type LanguageItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LanguageFile ¶
type LanguageFile struct {
// contains filtered or unexported fields
}
func Get ¶
func Get() *LanguageFile
func (*LanguageFile) GetConfigurationPerLanguageMapping ¶
func (l *LanguageFile) GetConfigurationPerLanguageMapping() map[string][]string
func (*LanguageFile) GetExcludedFolders ¶
func (l *LanguageFile) GetExcludedFolders() []string
func (*LanguageFile) GetLanguageByAlias ¶
func (l *LanguageFile) GetLanguageByAlias(alias string) (LanguageItem, error)
func (*LanguageFile) GetLanguageByName ¶
func (l *LanguageFile) GetLanguageByName(name string) (LanguageItem, error)
func (*LanguageFile) GetLanguageByNameOrAlias ¶
func (l *LanguageFile) GetLanguageByNameOrAlias(name string) (LanguageItem, error)
func (*LanguageFile) GetLanguagesByExtension ¶
func (l *LanguageFile) GetLanguagesByExtension(extension string) []LanguageItem
Click to show internal directories.
Click to hide internal directories.