reflectx: code ported from github.com/jmoiron/sqlx a2429ba

Depending on sqlx makes users pull SQL related code that is usually not
needed. Tools like dep make it easier by explicitly listing relevant
subpackages but the code needs to be downloaded anyway.
This commit is contained in:
Michał Matczuk
2018-05-25 10:57:26 +02:00
parent 1fec441dbc
commit aef66f4663
7 changed files with 1436 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import (
"fmt"
"unicode"
"github.com/jmoiron/sqlx/reflectx"
"github.com/scylladb/gocqlx/reflectx"
)
// DefaultMapper uses `db` tag and automatically converts struct field names to