简体   繁体   中英

Replace string in go.sum

How can i replace a string in go.sum. I use one SDK and it contains a strange import, that import is incorrect, the path of that library was changed to another, and when i do go mod init this incorrect import writes to go.sum.

你不应该碰 go.sum 文件,确保你的 go.mod 文件是正确的,并且 go.sum 做了相应的调整

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM