clickhouse icon indicating copy to clipboard operation
clickhouse copied to clipboard

go get -u gorm.io/driver/clickhouse 报错缺少依赖包 github.com/mitchellh/osext

Open fanqinwen opened this issue 1 year ago • 2 comments
trafficstars

本地删除了缓存,执行go mod tidy时,报错缺少github.com/mitchellh/osext包,发现github作者已将此项目删除,请及时修复

fanqinwen avatar Jan 31 '24 09:01 fanqinwen

可以通过设置 GOPROXY=https://proxy.golang.org 临时解决下

dev4mobile avatar Feb 22 '24 10:02 dev4mobile

You can add the line below in go.mod file to fix this issue temporarily before pr is merged.

replace gorm.io/driver/clickhouse v0.6.0 => github.com/webfrogs/clickhouse-go-gorm v0.0.0-20240222112550-a02dceed13be

webfrogs avatar Feb 26 '24 03:02 webfrogs