config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func Get

func Get() *Config

func New

func (*Config) GetBoolKey

func (c *Config) GetBoolKey(key string) bool

func (*Config) GetIntKey

func (c *Config) GetIntKey(key string) int

func (*Config) GetKey

func (c *Config) GetKey(key string) string

func (*Config) Load

func (c *Config) Load() bool

func (*Config) LogLevel

func (c *Config) LogLevel() string

func (*Config) RequestFromUser

func (c *Config) RequestFromUser(key string, question string) string

Jump to

Keyboard shortcuts

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