Add mechanism for initializing database with produce

This commit is contained in:
2021-06-21 11:47:51 -04:00
parent caa9db586c
commit 6e99e495b3
6 changed files with 47 additions and 4 deletions
+4 -3
View File
@@ -6,9 +6,10 @@ import (
)
type config struct {
Env string `default:"dev"`
APIPort int `default:3000`
LogLevel string `default:"debug"`
Env string `default:"dev"`
APIPort int `default:3000`
LogLevel string `default:"debug"`
DMLInitFile string
}
func load() (cfg config, err error) {