Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language struct { Name LanguageName Version string }
Language contains metadata collected from the call to `DetectLanguage`
type LanguageName ¶
type LanguageName string
LanguageName is a string enum that represents a detected language name.
const ( // Go language name. Go LanguageName = "go" // Node language name. Node LanguageName = "node" // Dotnet language name. Dotnet LanguageName = "dotnet" // Python language name. Python LanguageName = "python" // Java language name. Java LanguageName = "java" // Ruby language name. Ruby LanguageName = "ruby" // PHP language name. PHP LanguageName = "php" // Unknown language name. Unknown LanguageName = "" )
Click to show internal directories.
Click to hide internal directories.