diff options
author | slene <vslene@gmail.com> | 2014-03-15 19:01:50 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-15 19:01:50 +0800 |
commit | fa5ad1e46560bd006bccf57e5cac39589d18e344 (patch) | |
tree | 6157a0fb7f2333207d8ba907713be873b3eb0e52 /gogs.go | |
parent | 06deed820d9f48ecf972c8716b17ad58b91ab9b9 (diff) | |
download | gitea-fa5ad1e46560bd006bccf57e5cac39589d18e344.tar.gz gitea-fa5ad1e46560bd006bccf57e5cac39589d18e344.zip |
move templateFuncs to one file, add middleware context.
Diffstat (limited to 'gogs.go')
-rw-r--r-- | gogs.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ const go11tag = true const APP_VER = "0.0.8.0315" func init() { + base.AppVer = APP_VER runtime.GOMAXPROCS(runtime.NumCPU()) } |