···11+norm
22+----
33+44+norm provides helpers for query construction and row
55+scanning for golang projects that make use of the
66+database/sql package:
77+88+ db, _ := sql.Open("sqlite3", ":memory:")
99+1010+ rows :=
1111+ norm.Select("*").
1212+ From("users").
1313+ Where(norm.Eq("active", true)).
1414+ MustQuery(db)
1515+1616+ var users []User
1717+ _ = norm.ScanAll(rows, &users)
1818+1919+2020+norm uses string builders to construct queries and
2121+reflection to provide a generic struct scanner. handling
2222+migrations and managing field orderings is left to the end
2323+user.