Generate go struct definition from json file

from blog lmno.lol @alvaro, | ↗ original
From Generate go struct definition from json file, and before I forget: curl http://url.tld/file.json | gojson -name=Repository