From c570830104055febdf5c41ed7a86a7a1daaf2c76 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 17 Mar 2014 12:58:22 -0500 Subject: [PATCH] Update README.md example to use leveldb. SQLite is now fully deprecated and has been removed. Spotted and reported by @jolan. Closes #3. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 987e41ec..7a3722e1 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ change. // Import packages. import ( "github.com/conformal/btcdb" - _ "github.com/conformal/btcdb/sqlite3" + _ "github.com/conformal/btcdb/ldb" "github.com/conformal/btcutil" "github.com/conformal/btcwire" ) // Create a database and schedule it to be closed on exit. - dbName := "example.db" - db, err := btcdb.CreateDB("sqlite", dbName) + dbName := "example" + db, err := btcdb.CreateDB("leveldb", dbName) if err != nil { // Log and handle the error }