-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Version Replacements in Readme (#22)
- Loading branch information
Showing
1 changed file
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,41 @@ | ||
⚠️ This is a fork from the [original repo](https://github.com/jmoiron/sqlx) to keep some maintanance | ||
|
||
⚠️ This is a pr-maintained fork from the [original repo](https://github.com/jmoiron/sqlx) to keep some maintanance | ||
|
||
# go/sqlx | ||
|
||
[![Code-Testing](https://github.com/go-sqlx/sqlx/actions/workflows/test.yaml/badge.svg)](https://github.com/go-sqlx/sqlx/actions/workflows/test.yaml) | ||
|
||
Quick dating the lib: | ||
|
||
- **🧐 What is sqlx?** | ||
sqlx is a library which provides a set of extensions on go's standard | ||
`database/sql` library. | ||
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 | ||
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 | ||
|
||
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) | ||
|
||
```diff | ||
module ... | ||
|
||
go 1.20 | ||
|
||
+ replace github.com/jmoiron/sqlx v1.3.5 => github.com/go-sqlx/sqlx v1.3.6 | ||
|
||
require( | ||
... | ||
) | ||
``` |