Skip to content

Commit 4c35ae4

Browse files
authored
Add Version Replacements in Readme (#22)
1 parent f09a304 commit 4c35ae4

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

README.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,41 @@
1-
⚠️ This is a fork from the [original repo](https://github.com/jmoiron/sqlx) to keep some maintanance
21

2+
⚠️ This is a pr-maintained fork from the [original repo](https://github.com/jmoiron/sqlx) to keep some maintanance
33

44
# go/sqlx
5+
56
[![Code-Testing](https://github.com/go-sqlx/sqlx/actions/workflows/test.yaml/badge.svg)](https://github.com/go-sqlx/sqlx/actions/workflows/test.yaml)
67

78
Quick dating the lib:
9+
810
- **🧐 What is sqlx?**
9-
sqlx is a library which provides a set of extensions on go's standard
10-
`database/sql` library.
11+
sqlx is a library which provides a set of extensions on go's standard
12+
`database/sql` library.
1113
- **🚀 Why use sqlx?**
12-
Marshal rows into Structs, Named Prepared Statements, `Get` and `Select` to go quickly from query to struct/slice
14+
Marshal rows into Structs, Named Prepared Statements, `Get` and `Select` to go quickly from query to struct/slice
1315
- **🤝🏻 comapitble with the native packages?**
14-
sqlx leaves the underlying interfaces untouched and just superset on the standard ones
15-
16+
sqlx leaves the underlying interfaces untouched and just superset on the standard ones
1617

1718
## install
1819

20+
### Latest and Greatest
21+
22+
```
1923
go get github.com/go-sqlx/sqlx
24+
```
25+
26+
### Older Versions from jmoiron
27+
28+
Jmoirons version 1.3.5 is equal with our version 1.3.6
29+
(old releases won't work of this repo and or just here for documentation purposes)
30+
31+
```diff
32+
module ...
33+
34+
go 1.20
2035

36+
+ replace github.com/jmoiron/sqlx v1.3.5 => github.com/go-sqlx/sqlx v1.3.6
2137

38+
require(
39+
...
40+
)
41+
```

0 commit comments

Comments
 (0)