Skip to content

Commit bdae0c3

Browse files
authored
Merge pull request jmoiron#229 from flimzy/docs
Minor documentation fixes
2 parents 4a93334 + 9b17598 commit bdae0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlx.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// Although the NameMapper is convenient, in practice it should not
1818
// be relied on except for application code. If you are writing a library
1919
// that uses sqlx, you should be aware that the name mappings you expect
20-
// can be overridded by your user's application.
20+
// can be overridden by your user's application.
2121

2222
// NameMapper is used to map column names to struct field names. By default,
2323
// it uses strings.ToLower to lowercase struct field names. It can be set
@@ -779,7 +779,7 @@ func SliceScan(r ColScanner) ([]interface{}, error) {
779779
// executes SQL from input). Please do not use this as a primary interface!
780780
// This will modify the map sent to it in place, so reuse the same map with
781781
// care. Columns which occur more than once in the result will overwrite
782-
// eachother!
782+
// each other!
783783
func MapScan(r ColScanner, dest map[string]interface{}) error {
784784
// ignore r.started, since we needn't use reflect for anything.
785785
columns, err := r.Columns()
@@ -937,7 +937,7 @@ func scanAll(rows rowsi, dest interface{}, structOnly bool) error {
937937
// anyway) works on a rows object.
938938

939939
// StructScan all rows from an sql.Rows or an sqlx.Rows into the dest slice.
940-
// StructScan will scan in the entire rows result, so if you need do not want to
940+
// StructScan will scan in the entire rows result, so if you do not want to
941941
// allocate structs for the entire result, use Queryx and see sqlx.Rows.StructScan.
942942
// If rows is sqlx.Rows, it will use its mapper, otherwise it will use the default.
943943
func StructScan(rows rowsi, dest interface{}) error {

0 commit comments

Comments
 (0)