settings

package module
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 7 Imported by: 18

README

settings-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISettings

type ISettings interface {
	GetInt(key string, fallback int) int
	GetInt64(key string, fallback int64) int64
	Get(key string, fallback string) string
	GetBool(key string, fallback bool) bool
	GetSection(key string) ISettings
	GetObject(key string, obj interface{}) error
}

ISettings interface

func Get

func Get(configFile string) ISettings

Get the settings object

Jump to

Keyboard shortcuts

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