Skip to content

Commit

Permalink
add fixture to fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
joefitzgerald committed Jul 2, 2019
1 parent 4f9be1d commit 96861da
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 0 deletions.
11 changes: 11 additions & 0 deletions fixtures/sql/db.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package sql

import (
"database/sql"
)

//go:generate counterfeiter . DB

type DB interface {
Exec(query string, args ...interface{}) (sql.Result, error)
}
118 changes: 118 additions & 0 deletions fixtures/sql/sqlfakes/fake_db.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96861da

Please sign in to comment.