languages

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Language

type Language string
const (
	Go         Language = "Go"
	CSharp     Language = "C#"
	Dart       Language = "Dart"
	Ruby       Language = "Ruby"
	Python     Language = "Python"
	Java       Language = "Java"
	Kotlin     Language = "Kotlin"
	Javascript Language = "JavaScript"
	TypeScript Language = "TypeScript"
	Leaks      Language = "Leaks"
	HCL        Language = "HCL"
	C          Language = "C"
	PHP        Language = "PHP"
	HTML       Language = "HTML"
	Generic    Language = "Generic"
	Yaml       Language = "YAML"
	Elixir     Language = "Elixir"
	Shell      Language = "Shell"
	Unknown    Language = "Unknown"
)

func ParseStringToLanguage

func ParseStringToLanguage(value string) (l Language)

func SupportedLanguages

func SupportedLanguages() []Language

nolint

func (Language) GetCustomImagesKeyByLanguage added in v1.9.0

func (l Language) GetCustomImagesKeyByLanguage() string

func (Language) MapEnableLanguages

func (l Language) MapEnableLanguages() map[string]Language

nolint:funlen method is necessary more 15 lines

func (Language) ToString

func (l Language) ToString() string

Jump to

Keyboard shortcuts

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