ClickHouse / clickhouse-go

Golang driver for ClickHouse
Apache License 2.0
2.82k stars 546 forks source link

How to use it in version 1.18 of go #1321

Open maidivh opened 1 month ago

maidivh commented 1 month ago

The version I am using is g1.18, which means I can only use it v2@v2.2.0 Version, when I started using it, it prompted me that I needed the CMP and Slices packages. However, at this time, G.1.18 did not have these two packages

dedisuryadi commented 1 week ago

Hi, I have the same issue, it seems some transitive dependency is requiring slice and cmp std lib that did not exist on go@1.18, for the time being I am using v1.5.4 go get -u github.com/ClickHouse/clickhouse-go@v1.5.4