github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/store/alias.go (about) 1 package store 2 3 import ( 4 "github.com/dgraph-io/badger/v3" 5 ) 6 7 /* 8 Creation Time: 2021 - Feb - 12 9 Created by: (ehsan) 10 Maintainers: 11 1. Ehsan N. Moosa (E2) 12 Auditor: Ehsan N. Moosa (E2) 13 Copyright Ronak Software Group 2020 14 */ 15 16 var ( 17 ErrKeyNotFound = badger.ErrKeyNotFound 18 DefaultIteratorOptions = badger.DefaultIteratorOptions 19 ) 20 21 type ( 22 Item = badger.Item 23 Entry = badger.Entry 24 LocalDB = badger.DB 25 ) 26 27 func NewEntry(key, value []byte) *Entry { 28 return badger.NewEntry(key, value) 29 }