- I tried to get from
https://www.rusprofile.ru/ajax.php?&query=${TaxId}&action=search
, but output json doesn't have one attributeKPP
. So my decision is to parsehttps://www.rusprofile.ru/search?query=${TaxId}
. - custom jsonUnmarshaller is way better in case of main json struct has slice inside. It would be easier to get json attributes in slice. Article with good examples.
- 1st version had two servers Rest w/h chi-routing and gRPC. They worked concurrently. 2nd version has gRPC server and gateway for RestApi. Dial's WithBlock option allow to wait when gRPC-server will up.