mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: support for cockroachdb (resolve #90)
This commit is contained in:
@ -31,7 +31,7 @@ func loadTemplates() {
|
||||
return config.Get().Version
|
||||
},
|
||||
"getDbType": func() string {
|
||||
return strings.ToLower(config.Get().Db.Dialect)
|
||||
return strings.ToLower(config.Get().Db.Type)
|
||||
},
|
||||
"htmlSafe": func(html string) template.HTML {
|
||||
return template.HTML(html)
|
||||
|
Reference in New Issue
Block a user