feat/add arangodb support (#80)

*feat: add arangodb init

* fix: dao for sql + arangodb

* fix: update error logs

* fix: use db name dynamically
This commit is contained in:
Lakhan Samani
2021-12-17 21:25:07 +05:30
committed by GitHub
parent 155d2e65c2
commit f110255310
33 changed files with 640 additions and 266 deletions

View File

@@ -6,6 +6,7 @@ const (
Postgres DbType = iota
Sqlite
Mysql
Arangodb
)
func (d DbType) String() string {
@@ -13,5 +14,6 @@ func (d DbType) String() string {
"postgres",
"sqlite",
"mysql",
"arangodb",
}[d]
}