cachepaths

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseDirEnv           = "WIRE_CACHE_DIR"
	LoaderArtifactDirEnv = "WIRE_LOADER_ARTIFACT_DIR"
	DiscoveryCacheDirEnv = "WIRE_DISCOVERY_CACHE_DIR"
	OutputCacheDirEnv    = "WIRE_OUTPUT_CACHE_DIR"
)

Variables

View Source
var UserCacheDir = os.UserCacheDir

Functions

func Dir

func Dir(env []string, specificEnv, name string) (string, error)

func EnvValueDefault

func EnvValueDefault(env []string, key, fallback string) string

func Root

func Root(env []string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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