Skip to content
enorithPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config component for Enorith

Basic usage

package main

import (
    "github.com/enorith/config"
)
type FooConfig struct {
    // load yaml config, fallback environment variable
    Foo string `env:"ENV_FOO"`
}



func main() {
    var c FooConfig
    config.Unmarshal("config.yml", &c)
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址