Skip to content

Commit

Permalink
修改全局包名
Browse files Browse the repository at this point in the history
  • Loading branch information
XIAHUALOU committed Oct 12, 2022
1 parent ff2e8e3 commit 90ca111
Show file tree
Hide file tree
Showing 24 changed files with 4 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/internal/Configuration/RouteConfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Configuration

import (
"github.com/XIAHUALOU/fitness-gin/goft"
"github.com/XIAHUALOU/fitness-gin/fit"
"github.com/XIAHUALOU/fitness-gin/tests/internal/classes"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/internal/classes/IndexClass.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package classes

import (
"fmt"
"github.com/XIAHUALOU/fitness-gin/goft"
"github.com/XIAHUALOU/fitness-gin/fit"
"github.com/XIAHUALOU/fitness-gin/tests/internal/Services"
"github.com/XIAHUALOU/fitness-gin/tests/internal/fairing"
"github.com/gin-gonic/gin"
Expand Down
5 changes: 2 additions & 3 deletions tests/internal/test_main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package main

import (
"github.com/XIAHUALOU/fitness-gin/goft"
"github.com/XIAHUALOU/fitness-gin/fit"
"github.com/XIAHUALOU/fitness-gin/tests/internal/Configuration"
"github.com/XIAHUALOU/fitness-gin/tests/internal/classes"
"github.com/XIAHUALOU/fitness-gin/tests/internal/fairing"
"github.com/gin-gonic/gin"
"net/http"
)
Expand Down Expand Up @@ -39,7 +38,7 @@ func main() {
//Ignite方法 支持 配置原始Gin 中间件,全局的
FitGin.Ignite(cros(), errorFunc()).
//Config(Configuration.NewMyConfig()).
Attach(fairing.NewGlobalFairing()).
//Attach(fairing.NewGlobalFairing()).
Mount("", classes.NewIndexClass()). //控制器,挂载到v1
Config(Configuration.NewRouterConfig()).
Launch()
Expand Down

0 comments on commit 90ca111

Please sign in to comment.