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