config

package
v0.0.0-...-0f28e9b Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	ScanKey(key string, v interface{}) error
	GetString(path ...string) string
	GetInt64(path ...string) int64
}

type YamlReader

type YamlReader struct {
}

func NewYamlReader

func NewYamlReader(filename string) *YamlReader

func (*YamlReader) GetInt64

func (y *YamlReader) GetInt64(path ...string) int64

func (*YamlReader) GetString

func (y *YamlReader) GetString(path ...string) string

func (*YamlReader) ScanKey

func (y *YamlReader) ScanKey(key string, v interface{}) error

Jump to

Keyboard shortcuts

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