kalunik / companyInfo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interesting moments:

  • I tried to get from https://www.rusprofile.ru/ajax.php?&query=${TaxId}&action=search, but output json doesn't have one attribute KPP. So my decision is to parse https://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.

About


Languages

Language:Go 84.8%Language:Makefile 11.6%Language:Dockerfile 3.6%