go/sqlx
Quick dating the lib:
- 🧐 What is sqlx?
sqlx is a library which provides a set of extensions on go's standarddatabase/sql
library. - 🚀 Why use sqlx?
Marshal rows into Structs, Named Prepared Statements,Get
andSelect
to go quickly from query to struct/slice - 🤝🏻 comapitble with the native packages?
sqlx leaves the underlying interfaces untouched and just superset on the standard ones
install
Latest and Greatest
go get github.com/go-sqlx/sqlx
Older Versions from jmoiron
Jmoirons version 1.3.5 is equal with our version 1.3.6
(old releases won't work of this repo and or just here for documentation purposes)
module ...
go 1.20
+ replace github.com/jmoiron/sqlx v1.3.5 => github.com/go-sqlx/sqlx v1.3.6
require(
...
)