feat: add global & logger

This commit is contained in:
zhangwenjian
2020-06-19 22:09:49 +08:00
parent 7db16d04dd
commit b77f4b5a1b
43 changed files with 200 additions and 181 deletions
+2 -2
View File
@@ -2,10 +2,10 @@ package models
import (
"errors"
orm "go-admin/database"
"go-admin/global/orm"
"go-admin/tools"
"golang.org/x/crypto/bcrypt"
"log"
log "github.com/sirupsen/logrus"
"strings"
)