Basic example To run this example, you need a ClickHouse database: clickhouse-client -q "CREATE DATABASE test" Then run: go run .