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 ( //nolint:revive // TODO(PROC) Fix revive linter Go LanguageName = "go" //nolint:revive // TODO(PROC) Fix revive linter Node LanguageName = "node" //nolint:revive // TODO(PROC) Fix revive linter Dotnet LanguageName = "dotnet" //nolint:revive // TODO(PROC) Fix revive linter Python LanguageName = "python" //nolint:revive // TODO(PROC) Fix revive linter Java LanguageName = "java" //nolint:revive // TODO(PROC) Fix revive linter Ruby LanguageName = "ruby" //nolint:revive // TODO(PROC) Fix revive linter Unknown LanguageName = "" )
Click to show internal directories.
Click to hide internal directories.