fix: nil-close bug, stale docs, dead code, and tracked binaries (#7)
All checks were successful
CI / Build and Test (push) Successful in 34s
All checks were successful
CI / Build and Test (push) Successful in 34s
This commit was merged in pull request #7.
This commit is contained in:
@@ -22,6 +22,9 @@ type ShakeDB struct {
|
||||
findByTextStmt *sql.Stmt
|
||||
}
|
||||
|
||||
// Prepare opens shake.db, a ~22 MB SQLite database of Shakespeare's works.
|
||||
// Download from https://github.com/nicholasgasior/gopher-fizzbuzz/raw/master/shake.db
|
||||
// and place it in this directory before running.
|
||||
func (shakeDB *ShakeDB) Prepare() {
|
||||
db, err := sql.Open("sqlite3", "shake.db")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user