Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProjectType ¶
func FindProjectType() (ProjectType, *ProjectDetails, error)
FindProjectType detects the programming language/package manager of the current project.
Types ¶
type ProjectDetails ¶
ProjectDetails holds the details of the current project
type ProjectType ¶
type ProjectType string
ProjectType is the type of project
const ( // GoModule is the project type for Go modules GoModule ProjectType = "GoModule" // PythonPoetry is the project type for Python Poetry projects PythonPoetry ProjectType = "PythonPoetry" // RustCargo is the project type for Rust Cargo projects RustCargo ProjectType = "RustCargo" // JsNpm is the project type for Javascript NPM projects JsNpm ProjectType = "JsNpm" // Unknown is the project type for unknown project types Unknown ProjectType = "Unknown" )
Click to show internal directories.
Click to hide internal directories.