environment

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvironmentTomlFilename

func EnvironmentTomlFilename() (string, error)

Types

type Environment

type Environment struct {
	Version string
	Package []*Package
}

func Load

func Load(reader io.Reader) (Environment, error)

func LoadFromConfig

func LoadFromConfig() (Environment, bool, error)

func (*Environment) AddOrSet

func (c *Environment) AddOrSet(name string, path string)

func (Environment) Lookup

func (c Environment) Lookup(name string) string

func (Environment) SaveToConfig

func (c Environment) SaveToConfig() error

type Package

type Package struct {
	Name string
	Path string
}

Jump to

Keyboard shortcuts

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