summaryrefslogtreecommitdiff
path: root/package-lock.json
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2021-07-31 13:44:41 -0700
committerYuxuan 'fishy' Wang <fishywang@gmail.com>2021-08-01 10:07:45 -0700
commit2c78047fcbd2783e88cab0ebc7245598695477ae (patch)
tree644890de6b9eb4a633f840d9230e9ad060fa832f /package-lock.json
parentc8ae621a0969e00febcc80128d29e38d7f277601 (diff)
downloadthrift-2c78047fcbd2783e88cab0ebc7245598695477ae.tar.gz
THRIFT-4797: Go import improvements
This change improves two problems in go code imports: 1. Always rename import the thrift package into "thrift", as we allow the user to use a different library to replace the official one from the compiler command line, this makes sure that in compiler generated go code we can always blindly use "thrift.*". 2. We added auto rename import dedup in d9019fc5a4, but in that change for system packages we always use the full import path as the dedup identifier, so system package "database/sql/driver" would not be detected as a conflict against a thrift go namespace of "foo.bar.driver". Use the part after the last "/" in system packages as the dedup identifier instead.
Diffstat (limited to 'package-lock.json')
0 files changed, 0 insertions, 0 deletions