Closed girino closed 1 week ago
This code isolates the calls to the DB backend constructor (either LMDBBackend or BadgerBackend) and switches them if the compilation tag -tags badger is present. This enables to solve issue #9 and run on arm64 platforms.
-tags badger
how can i get it to run with just go run main.go using lmdb?
go run main.go db_default.go
or
go run main.go db_badger.go
This code isolates the calls to the DB backend constructor (either LMDBBackend or BadgerBackend) and switches them if the compilation tag
-tags badger
is present. This enables to solve issue #9 and run on arm64 platforms.