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 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址