Guest User

Untitled

a guest
Jul 19th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. package repository
  2.  
  3. type (
  4. Execer interface {
  5. Exec(query string, args ...interface{}) (Result, error)
  6. }
  7. Queryer interface {
  8. Query(query string, args ...interface{}) (*Rows, error)
  9. QueryRow(query string, args ...interface{}) *Row
  10. }
  11. Preparer interface {
  12. Prepare(query string) (*Stmt, error)
  13. }
  14.  
  15. Executor interface {
  16. Execer
  17. Queryer
  18. Preparer
  19. }
  20. )
Add Comment
Please, Sign In to add comment