This commit is contained in:
konrad 2017-12-01 12:38:36 +01:00 committed by kolaente
parent 2cd48f2e30
commit a97216fbd1
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 7 additions and 8 deletions

View File

@ -28,7 +28,6 @@ func SetEngine() (err error) {
cacher := xorm.NewLRUCacher(xorm.NewMemoryStore(), 1000)
x.SetDefaultCacher(cacher)
x.SetMapper(core.GonicMapper{})
// Sync dat shit

View File

@ -4,8 +4,8 @@ import (
"github.com/labstack/echo"
"net/http"
"git.mowie.cc/konrad/Library/models"
"fmt"
"git.mowie.cc/konrad/Library/models"
)
// BookList is the handler to list books

View File

@ -2,9 +2,9 @@ package v1
import (
"fmt"
"git.mowie.cc/konrad/Library/models"
"github.com/dgrijalva/jwt-go"
"github.com/labstack/echo"
"git.mowie.cc/konrad/Library/models"
)
// CheckToken checks prints a message if the token is valid or not. Currently only used for testing pourposes.