添加js模板,页面模板,去掉数据库数据初始化,去掉sql文件中没用语句
This commit is contained in:
1 parent
ba1c7f6193
commit
8faff5384f
29 files changed
+1364
-771
No files matched your search
@@ -3,7 +3,6 @@ package config
|
||||
import "github.com/spf13/viper"
|
||||
|
||||
type Application struct {
|
||||
IsInit bool
|
||||
ReadTimeout int
|
||||
WriterTimeout int
|
||||
Host string
|
||||
@@ -16,7 +15,6 @@ type Application struct {
|
||||
|
||||
func InitApplication(cfg *viper.Viper) *Application {
|
||||
return &Application{
|
||||
IsInit: cfg.GetBool("isInit"),
|
||||
ReadTimeout: cfg.GetInt("readTimeout"),
|
||||
WriterTimeout: cfg.GetInt("writerTimeout"),
|
||||
Host: cfg.GetString("host"),
|
||||
|
||||
Reference in new issue
Block a user