cfg_utils

package
v0.0.0-...-6bcd878 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalConfig

func UnmarshalConfig(prefix, path string, config Config) error

UnmarshalConfig parses config file specified by path into config struct and validates it. config should always be a pointer (reference).

Types

type Config

type Config interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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