github.com/scottcagno/storage@v1.8.0/NOTES.md (about) 1 Notes [ this is really nothing, just a sample file ] 2 --- 3 This is how we make links [example](https://example.com/) will take you to example.com. 4 5 ``` 6 import "mydb" 7 8 ... 9 10 // open an instance 11 db, err := mydb.Open(mydb.DefaultConfig("base/path")) 12 if err != nil { 13 panic(err) 14 } 15 16 // dont forget to close 17 defer func(){ 18 err := db.Close() 19 if err != nil { 20 panic(err) 21 } 22 }() 23 ```