func ExampleCreate() {
	dbPath := filepath.Join(os.TempDir(), "examplecreate.db")
	db, err := walletdb.Create("bdb", dbPath)
	if err != nil {
		fmt.Println(err)
		return
	}
	defer os.Remove(dbPath)
	defer db.Close()
}
This example demonstrates creating a new database.
package walletdb_test
import (
	"bytes"
	"fmt"
	"os"
	"path/filepath"
	"decred.org/dcrwallet/v2/errors"
	_ "decred.org/dcrwallet/v2/wallet/internal/bdb"
	"decred.org/dcrwallet/v2/wallet/walletdb"
)