utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectRoot

func GetProjectRoot() (string, error)

GetProjectRoot returns the absolute path to the project root directory. It traverses up the directory tree until it finds a directory containing either a go.mod file (for Go projects) or a .git directory (for Git repositories).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL