env

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package env answers where Encore tools and resources are located.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncoreGoRoot

func EncoreGoRoot() string

EncoreGoRoot reports the path to the Encore Go root. It can be overridden by setting ENCORE_GOROOT.

func EncoreRuntimePath

func EncoreRuntimePath() string

EncoreRuntimePath reports the path to the Encore runtime. It can be overridden by setting ENCORE_RUNTIME_PATH.

func List added in v0.16.3

func List() []string

List reports Encore environment variables, in the same format as os.Environ().

Types

This section is empty.

Jump to

Keyboard shortcuts

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