mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
Finish comment in walletdb namespace example.
This commit is contained in:
parent
c9ee57d53d
commit
cdba2f858c
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ func ExampleDB_namespace() {
|
||||||
defer teardownFunc()
|
defer teardownFunc()
|
||||||
|
|
||||||
// Get or create a namespace in the database as needed. This namespace
|
// Get or create a namespace in the database as needed. This namespace
|
||||||
// is what
|
// is what is typically passed to specific sub-packages so they have
|
||||||
|
// their own area to work in without worrying about conflicting keys.
|
||||||
namespaceKey := []byte("walletsubpackage")
|
namespaceKey := []byte("walletsubpackage")
|
||||||
namespace, err := db.Namespace(namespaceKey)
|
namespace, err := db.Namespace(namespaceKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue