1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: display database type

This commit is contained in:
Ferdinand Mütsch
2020-10-16 16:58:16 +02:00
parent 4336d732c9
commit c78ee5465c
2 changed files with 4 additions and 1 deletions

View File

@@ -30,6 +30,9 @@ func loadTemplates() {
"getVersion": func() string {
return config.Get().Version
},
"getDbType": func() string {
return strings.ToLower(config.Get().Db.Dialect)
},
"htmlSafe": func(html string) template.HTML {
return template.HTML(html)
},