config

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Viper

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

func InitConfig

func InitConfig(path string, typ string) *Viper

func (*Viper) GetString

func (v *Viper) GetString(key string) string

func (*Viper) ReadConfig

func (v *Viper) ReadConfig(file, typ string, data interface{}) error

Jump to

Keyboard shortcuts

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