Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProjectRoot ¶
FindProjectRoot walks up the directory tree to find the project root
func IsVelocityProject ¶
func IsVelocityProject() bool
IsVelocityProject checks if we're inside a Velocity project
Types ¶
type ProjectInfo ¶
type ProjectInfo struct {
Path string
ModuleName string
GoVersion string
HasGoMod bool
HasVelocity bool
}
ProjectInfo contains information about an existing Go project
func Detect ¶
func Detect(dir string) (*ProjectInfo, error)
Detect analyzes a directory to determine if it's a valid Go project
Click to show internal directories.
Click to hide internal directories.