go get 时报以下错误
go get: github.com/360EntSecGroup-Skylar/excelize/v2@v2.4.0 updating to github.com/360EntSecGroup-Skylar/excelize/v2@v2.6.0: parsing go.mod: module declares its path as: github.com/xuri/excelize/v2 but was required as: github.com/360EntSecGroup-Skylar/excelize/v2
解决方案
在go.mod 增加
replace ( github.com/360EntSecGroup-Skylar/excelize/v2 => github.com/xuri/excelize/v2 v2.6.0 github.com/xuri/excelize/v2 => github.com/360EntSecGroup-Skylar/excelize/v2 v2.6.0 )
个人博客: https://lanxy.top