Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/andream16/dummy-json-to-cfg
- Owner: andream16
- License: apache-2.0
- Created: 2018-07-11T14:01:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T10:05:02.000Z (over 6 years ago)
- Last Synced: 2025-02-17T14:53:56.929Z (2 days ago)
- Topics: configuration, go, golang, json-configuration
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/AndreaM16/dummy-json-to-cfg)
[](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.