Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

go-sqlx/sqlx

Repository files navigation

Caution

The official repository is getting updates again so meanwhile this fork will be no longer maintained. If the other repo is getting no more updates again, this fork will be updated again. Happy hacking 🙂


Note

This is a pr-maintained fork from the original repo to keep some maintanance

go/sqlx

Code-Testing

Quick dating the lib:

  • 🧐 What is sqlx?
    sqlx is a library which provides a set of extensions on go's standard database/sql library.
  • 🚀 Why use sqlx?
    Marshal rows into Structs, Named Prepared Statements, Get and Select 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

⚠️ not the newest version, but from there you can migrate up
(old releases won't work of this repo and are 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(
        ...
    )

About

general purpose extensions to golang's database/sql

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages