13 lines
230 B
Go
13 lines
230 B
Go
package middleware
|
|
|
|
import (
|
|
"github.com/flamego/template"
|
|
|
|
"git.metaunix.net/bitgoblin/blt/app"
|
|
)
|
|
|
|
func CustomVars(data template.Data) {
|
|
data["app_version"] = app.AppVersion
|
|
data["runtime_version"] = app.RuntimeVersion
|
|
}
|