Created
September 6, 2015 15:16
-
-
Save samuelckaufman/b48192ca9de1b2c71df7 to your computer and use it in GitHub Desktop.
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
type customSqlx struct { | |
*sqlx.DB | |
} | |
func ( db *customSqlx ) Get(dest interface{}, query string, args ...interface{}) error { | |
// db.trace(query,args) | |
return db.DB.Get(dest,query,args) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment