Mike Farah
77c8f22a79
Bump golang version to 1.11
2019-01-21 09:37:22 +11:00
Mike Farah
ae0c042ae6
Use gopkg managed version of yaml to properly support go get
2018-06-18 11:12:52 +10:00
kenjones
53b2c64747
Task: Increase test coverage, includes refactor
...
Adds test cases to increase test coverage.
Refactors code to enable adding tests by reducing the number of
locations where `os.Exit()` is called from.
2017-09-22 23:01:46 -04:00
Mike Farah
359ca5a117
Merge branch 'kenjones-cisco-bugfix/nonstring-keys'
2017-09-23 08:56:55 +10:00
Mike Farah
6d1e61c410
Merge branch 'master' into bugfix/nonstring-keys
2017-09-23 08:38:37 +10:00
kenjones
86639acf70
Task: Simplify development
...
The base directory has all shell scripts in scripts/
and all example/test files in examples/.
A Makefile provides all the commands with helpful information.
If a developer simply types `make` then vendor is properly updated,
the code is formatted, linted, tested, built, acceptance test run,
and installed.
Linting errors resolved.
Ignored test case (`TestParsePath`) updated to work as expected.
2017-09-23 08:37:34 +10:00
kenjones
3beee3f804
Bugfix: Panic on non-string keys
...
Adds check if the key is an `int` or `bool`, and converts to a string
as part of the `toJSON` function.
Test cases added.
Resolves : #28
2017-09-21 12:01:03 -04:00
Mike Farah
b2a0964de2
switched from godeps to govendor, now supports new 'vendor' folder
2017-05-03 09:19:55 +10:00
Mike Farah
ec25886528
Removed redundant code, updated doc w.r.t reading json files
2017-04-19 15:45:45 +10:00
Mike Farah
44ee869e47
Maintain order
2017-02-27 09:09:29 +11:00
Mike Farah
c955815aab
Added json input functionality
2015-10-11 17:06:52 +11:00
Mike Farah
3720bf8211
Added json output functionality
2015-10-11 10:00:22 +11:00