Categorygithub.com/gernoteger/mapstructure-hooks
repositorypackage
1.1.1
Repository: https://github.com/gernoteger/mapstructure-hooks.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

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.