An open API service indexing awesome lists of open source software.

https://github.com/sagikazarmark/viper-custom-types


https://github.com/sagikazarmark/viper-custom-types

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Viper custom types

[![run on repl.it](https://repl.it/badge/github/sagikazarmark/viper-custom-types)](https://repl.it/@sagikazarmark/viper-custom-types#main.go)

This repository contains some examples about using custom types and custom formats and decoders with Viper.

Under the hood, Viper uses [mapstructure](https://github.com/mitchellh/mapstructure) to decode values.

You can find more Viper examples here: [![run on repl.it](https://repl.it/badge/github/sagikazarmark/Viper-example)](https://repl.it/@sagikazarmark/Viper-example#main.go)