Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .github/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 22 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
# <img src=".github/logo.png" alt="sqlx" width="320">

**The maintained fork of [jmoiron/sqlx](https://github.com/jmoiron/sqlx).
Same API, same package name, with the fixes upstream never merged.**

[![CI](https://github.com/secondwindoss/sqlx/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/secondwindoss/sqlx/actions/workflows/ci.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/secondwindoss/sqlx.svg)](https://pkg.go.dev/github.com/secondwindoss/sqlx)
[![Go version](https://img.shields.io/github/go-mod/go-version/secondwindoss/sqlx)](go.mod)
[![Release](https://img.shields.io/github/v/release/secondwindoss/sqlx)](https://github.com/secondwindoss/sqlx/releases)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

sqlx extends Go's standard `database/sql` package. Its `DB`, `Tx`, `Stmt` and
<p align="center">
<img src=".github/banner.png" alt="sqlx: the maintained fork of jmoiron/sqlx" width="100%">
</p>

<h3 align="center">
<a href="https://pkg.go.dev/github.com/secondwindoss/sqlx">[Docs]</a> ·
<a href="#quick-start">[Quick Start]</a> ·
<a href="#migrating-from-jmoironsqlx">[Migration]</a> ·
<a href="https://jmoiron.github.io/sqlx/">[User Guide]</a> ·
<a href="CHANGELOG.md">[Changelog]</a>
</h3>

<p align="center">
<a href="https://github.com/secondwindoss/sqlx/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/secondwindoss/sqlx/actions/workflows/ci.yml/badge.svg?branch=master"></a>
<a href="https://pkg.go.dev/github.com/secondwindoss/sqlx"><img alt="Go Reference" src="https://pkg.go.dev/badge/github.com/secondwindoss/sqlx.svg"></a>
<a href="go.mod"><img alt="Go version" src="https://img.shields.io/github/go-mod/go-version/secondwindoss/sqlx"></a>
<a href="https://github.com/secondwindoss/sqlx/releases"><img alt="Release" src="https://img.shields.io/github/v/release/secondwindoss/sqlx"></a>
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
</p>

sqlx is the maintained fork of [jmoiron/sqlx](https://github.com/jmoiron/sqlx).
It extends Go's standard `database/sql` package. Its `DB`, `Tx`, `Stmt` and
`Rows` types embed the standard ones, so every `database/sql` method still
works and the extensions sit next to them: scan rows into structs, maps and
slices, run named queries with `:name` parameters, expand slices with `In`,
Expand Down
Loading