config

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBool

func GetBool(k ...string) (str bool)

GetBool - Получаем значение bool

func GetBoolSilent

func GetBoolSilent(silent bool, k ...string) (str bool)

GetBoolSilent - Получаем значение bool

func GetFile

func GetFile(k ...string) (b []byte)

GetFile - читаем файл

func GetFloat64

func GetFloat64(k ...string) (i float64)

GetFloat64 - Получаем значение int

func GetFloat64Silent

func GetFloat64Silent(silent bool, k ...string) (i float64)

GetFloat64Silent - Получаем значение строку

func GetInt

func GetInt(k ...string) (i int)

GetInt - Получаем значение int

func GetInt64

func GetInt64(k ...string) (i int64)

GetInt64 - Получаем значение int

func GetInt64Silent

func GetInt64Silent(silent bool, k ...string) (i int64)

GetInt64Silent - Получаем значение строку

func GetIntSilent

func GetIntSilent(silent bool, k ...string) (i int)

GetIntSilent - Получаем значение строку

func GetMap

func GetMap(k ...string) (str map[string]interface{})

GetMap - Получаем значение среза строк

func GetMapInt

func GetMapInt(k ...string) (str map[string]int)

GetMapInt - Получаем значение среза строк

func GetMapIntSilent

func GetMapIntSilent(silent bool, k ...string) (str map[string]int)

GetMapIntSilent - Получаем значение среза строк

func GetMapSilent

func GetMapSilent(silent bool, k ...string) (str map[string]interface{})

GetMapSilent - Получаем значение среза строк

func GetMapStr

func GetMapStr(k ...string) (str map[string]string)

GetMapStr - Получаем значение среза строк

func GetMapStrSilent

func GetMapStrSilent(silent bool, k ...string) (str map[string]string)

GetMapStrSilent - Получаем значение среза строк

func GetStr

func GetStr(k ...string) (str string)

GetStr - Получаем значение строку

func GetStrArr

func GetStrArr(k ...string) (str []string)

GetStrArr - Получаем значение среза строк

func GetStrArrSilent

func GetStrArrSilent(silent bool, k ...string) (str []string)

GetStrArrSilent - Получаем значение среза строк

func GetStrSilent

func GetStrSilent(silent bool, k ...string) (str string)

GetStrSilent - Получаем значение строку

func Read

func Read(file string) (err error)

Read - Читаем конфиг

Types

This section is empty.

Jump to

Keyboard shortcuts

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