config

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseContent

func ParseContent(reader io.Reader, content interface{}) error

Types

type ConfigFileReader

type ConfigFileReader struct {
	Basedir  string
	Filename string
}

func (ConfigFileReader) FileNameForConfig

func (configReader ConfigFileReader) FileNameForConfig() string

func (ConfigFileReader) Read

func (configReader ConfigFileReader) Read(content interface{}) error

type ConfigReader

type ConfigReader interface {
	Read(interface{}) error
}

Jump to

Keyboard shortcuts

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