The utility helps to read json configuration file that may contain your configs for your appliction. Basically it is a common workflow to process configuration files.
- put the following commands to cmd to create binary.
go build .
.\configreader.exe
Try to unmarshal configs...
We recieved this structure:
{pass_linux pass_windows true machine1 joshua 8 machine3 joseph 9}
- puth to cmd and press enter.
- code 1 - reading configs problem.
- code 2 - unmarshal problem.
- code 3 - marshalindent problem.