config

package
v0.0.0-...-6f22388 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEVELOPMENT = "DEVELOPMENT"
View Source
var PRODUCTION = "PRODUCTION"

Functions

This section is empty.

Types

type Config

type Config struct {
	Path     string
	FilePath string

	*viper.Viper
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() (*Config, error)

func (*Config) LoadConfig

func (c *Config) LoadConfig()

func (*Config) Save

func (c *Config) Save() error

Jump to

Keyboard shortcuts

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