languages

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 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#"
	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"
	Unknown    Language = "Unknown"
)

func ParseStringToLanguage

func ParseStringToLanguage(value string) (l Language)

func SupportedLanguages

func SupportedLanguages() []Language

nolint

func (Language) MapEnableLanguages

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

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