Skip to content

vodyanoyysh/goconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goconfig

usage example

package main

import (
	"fmt"
	"your-package/goconfig"
)

type Config struct {
	Hello string `yaml:"hello"`
}

func main() {
	var cfg *Config
	goconfig.LoadConfig(&cfg, "config.yaml")
}

yaml config example

hello: world

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages