Skip to content

Commit

Permalink
upgrade to use Go 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
  • Loading branch information
achille-roussel committed Oct 30, 2024
1 parent d51fe22 commit b5d96d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sqlrange [![Go Reference](https://pkg.go.dev/badge/github.com/achille-roussel/sqlrange.svg)](https://pkg.go.dev/github.com/achille-roussel/sqlrange)

Library using the `database/sql` package and Go 1.22 range functions to execute
Library using the `database/sql` package and Go 1.23 range functions to execute
queries against SQL databases.

## Installation
Expand All @@ -10,13 +10,7 @@ This package is intended to be used as a library and installed with:
go get github.com/achille-roussel/sqlrange
```

:warning: The package depends on Go 1.22 and enabling the rangefunc experiment.

To enable the rangefunc experiment, set the GOEXPERIMENT environment variable in
the shell that executes the go commands:
```sh
export GOEXPERIMENT=rangefunc
```
:warning: The package requires Go 1.23 or later for range function support.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/achille-roussel/sqlrange

go 1.22
go 1.23

0 comments on commit b5d96d7

Please sign in to comment.