Skip to content

Commit

Permalink
fix: rename project name
Browse files Browse the repository at this point in the history
  • Loading branch information
qloog committed Jul 8, 2018
1 parent d33373e commit 3d5204e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ _testmain.go
*.exe
*.test
*.prof
.idea

# custom
apiserver
go-api
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

var (
cfg = pflag.StringP("config", "c", "", "apiserver config file path.")
cfg = pflag.StringP("config", "c", "", "go-api config file path.")
version = pflag.BoolP("version", "v", false, "show version info.")
)

Expand Down
6 changes: 3 additions & 3 deletions router/middleware/auth.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package middleware

import (
"apiserver/handler"
"apiserver/pkg/errno"
"apiserver/pkg/token"
"go-api/handler"
"go-api/pkg/errno"
"go-api/pkg/token"

"github.com/gin-gonic/gin"
)
Expand Down
4 changes: 2 additions & 2 deletions router/middleware/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"regexp"
"time"

"apiserver/handler"
"apiserver/pkg/errno"
"go-api/handler"
"go-api/pkg/errno"

"github.com/gin-gonic/gin"
"github.com/lexkong/log"
Expand Down

0 comments on commit 3d5204e

Please sign in to comment.