Skip to content

Commit e3cc575

Browse files
committed
add file directive to allow compilation by versions older than 1.23
1 parent 5b48bd7 commit e3cc575

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

examples/clickhouse_api/iterators.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !go1.23
2+
13
package clickhouse_api
24

35
import (

lib/driver/iter.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !go1.23
2+
13
package driver
24

35
import (

lib/driver/iter_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !go1.23
2+
13
package driver
24

35
import (

tests/iterator_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !go1.23
2+
13
package tests
24

35
import (

0 commit comments

Comments
 (0)