Skip to content

Commit

Permalink
Improve docs of testutil.FindRootDirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Apr 2, 2024
1 parent 69a9009 commit a3e8f58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/testutil/testutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ func (s *TestServer) CloseDB() {

// FindRootDirectory find relative path to the project's root directory based on the
// existence of a `go.mod` file. The returned path is relative to the working directory
// and contains a trailing slash.
// Returns an empty string if not found.
func FindRootDirectory() string {
sep := string(os.PathSeparator)
Expand Down

0 comments on commit a3e8f58

Please sign in to comment.