tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
159 stars 23 forks source link

Downgrade Go version to 1.20 #93

Closed avinassh closed 6 months ago

avinassh commented 6 months ago

Goose is a pretty slick migration tool and I am trying to add Turso support to it. I have opened a PR here - https://github.com/pressly/goose/pull/658

However, goose minimum go version requirement is 1.19 and maintainers do not want to increase it to 1.21 just for Turso, which is reasonable. But they are fine merging if the version is 1.20.

In our library, we only use slice.Contains function, so I have back ported those and reduced the min version to 1.20