forked from jmoiron/sqlx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation cleanup, vet and lint fixes, remove BindMap and BindStr…
…uct from public interface in favor of a single BindNamed
- Loading branch information
Showing
8 changed files
with
59 additions
and
66 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 |
---|---|---|
|
@@ -20,3 +20,5 @@ _cgo_export.* | |
_testmain.go | ||
|
||
*.exe | ||
tags | ||
environ |
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
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,12 +1,12 @@ | ||
// Package sqlx provides general purpose extensions to database/sql. | ||
// | ||
// sqlx is intended to seamlessly wrap database/sql and provide convenience | ||
// It is intended to seamlessly wrap database/sql and provide convenience | ||
// methods which are useful in the development of database driven applications. | ||
// None of the underlying database/sql methods are changed, instead all extended | ||
// None of the underlying database/sql methods are changed. Instead all extended | ||
// behavior is implemented through new methods defined on wrapper types. | ||
// | ||
// sqlx adds struct scanning, named queries, query rebinding between drivers, | ||
// convenient shorthand for common error handling, from-file query execution, | ||
// Additions include scanning into structs, named query support, rebinding | ||
// queries for different drivers, convenient shorthands for common error handling | ||
// and more. | ||
// | ||
package sqlx |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# types | ||
|
||
The types package provides some useful types which implement the `sql.Scanner` | ||
and `driver.Valuer` interfaces, suitable for use as scan and value targets with | ||
database/sql. |