Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andream16/dummy-json-to-cfg

Dummy Json file to generic struct utility
https://github.com/andream16/dummy-json-to-cfg

configuration go golang json-configuration

Last synced: 1 day ago
JSON representation

Dummy Json file to generic struct utility

Awesome Lists containing this project

README

        

[![Go Report Card](https://goreportcard.com/badge/github.com/AndreaM16/dummy-json-to-cfg)](https://goreportcard.com/report/github.com/AndreaM16/dummy-json-to-cfg)
[![Apache V2 License](http://img.shields.io/badge/license-Apache%20V2-blue.svg)](https://github.com/andream16/aws-sdk-go-bindings/blob/master/LICENSE.txt)

# dummy-json-to-cfg

Dummy Json file to generic struct utility.

Simply use `config.UnmarshalJsonFile(filePath, &out)` where `filePath` is a valid path to a `json` file and `out` is a given struct.