config

package
v0.0.0-...-52ce4d9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrSetGoPath

func GetOrSetGoPath() string

func Load

func Load(ctx context.Context, target AppConfig)

Types

type AppConfig

type AppConfig interface {
	SourcePath() string
	EnvPath() string
	SetEnv(string)
}

type BaseConfig

type BaseConfig struct {
	Env string
}

func (*BaseConfig) SetEnv

func (c *BaseConfig) SetEnv(env string)

Jump to

Keyboard shortcuts

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