Skip to content

gernoteger/mapstructure-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc Go Report Card Build Status

About

This is a small extension to Mitshell Hashimoto's excellent library mapstructure. It allows one to fill arrays of interfaces whose concrete type is determined by their content. A typical usecase is configuring log handlers from a yaml file and processing the imported map through mapstructure.

The design was heavily inspired by logrus_mate

Usage

For a detailled description look at the examples in the godocs.

About

hooks on top of mapstructure

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages