projectpath

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

find the project root at runtime

kinda a single use package, but it's useful everywhere so the low friction is nice.

Index

Constants

This section is empty.

Variables

View Source
var (

	// Root folder of this project
	Root = filepath.Join(filepath.Dir(b), "../..")
)

Functions

func Join

func Join(paths ...string) string

paths arg will be joined against the project root. like path.Join

Types

This section is empty.

Jump to

Keyboard shortcuts

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