G-Node / tonic

Framework for building services that interact with GIN
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

provide a json example to download #34

Open jcolomb opened 3 years ago

jcolomb commented 3 years ago

for examle, I had problems with adding port:3000 got an error probably due to the encryption (I tried utf8) got cannot unmarshal string into Go struct field labProjectConfig.Port of type uint16 error went away by removing the port entry.

providing a json file may work better than if one needs to copy-paste...

achilleas-k commented 3 years ago

Were you quoting the port number?

{
       "port": "5000"
}

wont work, it needs to be

{
       "port": 5000
}
jcolomb commented 3 years ago

I was indeed :) therefore a working json file to download would be good :)