Templates and templater, added footer with application data. Fixes #8 and #7.

This commit is contained in:
2018-05-26 13:50:13 +05:00
parent d7e9865c91
commit 342a4d1d7c
24 changed files with 519 additions and 452 deletions

View File

@@ -37,6 +37,7 @@ import (
"github.com/pztrn/fastpastebin/database"
"github.com/pztrn/fastpastebin/database/migrations"
"github.com/pztrn/fastpastebin/pastes"
"github.com/pztrn/fastpastebin/templater"
)
func main() {
@@ -57,6 +58,7 @@ func main() {
c.Database.Initialize()
migrations.New(c)
migrations.Migrate()
templater.Initialize(c)
api.New(c)
api.InitializeAPI()