Closed yangjinheng closed 1 month ago
help
@kevwan @kesonan @kingxt
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
help
@kevwan @kesonan @kingxt
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.53%. Comparing base (
8690859
) to head (1f26ae1
). Report is 156 commits behind head on master.
πthanks
To solve the problem of the disk full of code, I used soft links to move the directory where the code is saved, but the import path of the code generated by goctl is wrong
The problem occurs in tools/goctl/rpc/generator/mkdir.go SetPbDir()
d.ctx.Dir calculates the absolute path pbDir does not calculate the absolute path strings.TrimPrefix tries to remove d.ctx.Dir from pbDir but does not get a match