config

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: GPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfigFiles

func DefaultConfigFiles(toolName string) ([]string, error)

Types

type Config

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

func DefaultConfig

func DefaultConfig(toolname string) *Config

func NewConfig

func NewConfig(files ...string) *Config

func (*Config) GetBool

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

func (*Config) GetFloat64

func (c *Config) GetFloat64(key string) float64

func (*Config) GetInt64

func (c *Config) GetInt64(key string) int64

func (*Config) GetString

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

func (*Config) HasKey

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

Jump to

Keyboard shortcuts

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