Skip to content

Commit 01e6885

Browse files
asmyasnikovadwski
authored andcommitted
Apply suggestions from code review
1 parent 48568fa commit 01e6885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

query/result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ type (
2020
Range(ctx context.Context) xiter.Seq2[ResultSet, error]
2121
}
2222
ResultSet interface {
23+
Index() int
2324
Columns() []string
2425
ColumnTypes() []Type
2526
NextRow(ctx context.Context) (Row, error)
26-
Index() int
2727

2828
// Range is experimental API for range iterators available with Go version 1.22+ and flag `GOEXPERIMENT=rangefunc`.
2929
Range(ctx context.Context) xiter.Seq2[Row, error]

0 commit comments

Comments
 (0)