Add base code to convert json data into a server object

This is not great code, but wow dealing with JSON is a nightmare in go.
This commit is contained in:
Dane Everitt
2019-11-16 15:10:53 -08:00
parent c9bfb18b1c
commit 22e6ce2f7e
4 changed files with 118 additions and 0 deletions

1
go.mod
View File

@@ -6,6 +6,7 @@ require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
github.com/Microsoft/go-winio v0.4.7 // indirect
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23
github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448 // indirect
github.com/docker/distribution v2.7.1+incompatible // indirect