Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schemer

Main branch protection Code scanning

Schemer helps you write structured and well validated config files for any application, yay!

  • Write a JSON schema
  • Write a golang struct to receive the file-based configuration, corresponding to the JSON schema
  • Input both to schemer.Schemer, call Parse voila! Validated configuration for your application

Schemer supports both environment variable injection and path-based lookups through its reference formatting detection:

# Reference variable, with default
${ref:path.to.field:default}
# Reference variable, without default
${ref:path.to.field}
# Environment variable, with default
${env:variable:default}
# Reference variable, without default
${env:variable}

About

Schemer helps you write well structured configuration files, providing validation out of the box.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages