GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - crazy-max/gonfig: Lightweight config handling for Go

BranchesTags
Open more actions menu

Latest commit

 

History

221 Commits
221 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
contrib/example
contrib/example
 
 
env
env
 
 
file
file
 
 
fixtures
fixtures
 
 
flag
flag
 
 
generator
generator
 
 
parser
parser
 
 
types
types
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
codecov.yml
codecov.yml
 
 
docker-bake.hcl
docker-bake.hcl
 
 
file_finder.go
file_finder.go
 
 
file_finder_test.go
file_finder_test.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
gonfig.go
gonfig.go
 
 
loader.go
loader.go
 
 
loader_env.go
loader_env.go
 
 
loader_file.go
loader_file.go
 
 
loader_flag.go
loader_flag.go
 
 
loader_test.go
loader_test.go
 
 

Repository files navigation

PkgGoDev Test workflow Codecov
Become a sponsor Donate Paypal

About

This library is heavily inspired by the traefik config package (now moved to https://github.com/traefik/paerser). It offers a simple config handling with:

  • Configuration files in YAML or TOML format
  • Environment variables
  • Flag arguments

Installation

go get github.com/crazy-max/gonfig

Contributing

Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by becoming a sponsor on GitHub or by making a Paypal donation to ensure this journey continues indefinitely!

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.

About

Lightweight config handling for Go

pkg.go.dev/github.com/crazy-max/gonfig

Topics

configurationenvironment-variablesfileflagsgolanggolang-libraryyaml

Resources

Readme
MIT license
Activity

Stars

12 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.