Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lich0821/WeChatFerry
Browse files Browse the repository at this point in the history
  • Loading branch information
lich0821 committed Dec 19, 2023
2 parents 2ae40a2 + b35dad2 commit 646361a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion clients/gohttp/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/opentdp/wechat-rest
module wechat-rest

go 1.21

Expand Down
3 changes: 2 additions & 1 deletion clients/gohttp/httpd/midware/guard.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
"strings"

"github.com/gin-gonic/gin"
"github.com/opentdp/wechat-rest/args"

"wechat-rest/args"
)

func AuthGuard(c *gin.Context) {
Expand Down
6 changes: 3 additions & 3 deletions clients/gohttp/httpd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package httpd
import (
"github.com/opentdp/go-helper/httpd"

"github.com/opentdp/wechat-rest/args"
"github.com/opentdp/wechat-rest/httpd/midware"
"github.com/opentdp/wechat-rest/httpd/wcfrest"
"wechat-rest/args"
"wechat-rest/httpd/midware"
"wechat-rest/httpd/wcfrest"
)

// @title Wechat Rest API
Expand Down
4 changes: 2 additions & 2 deletions clients/gohttp/httpd/wcfrest/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/opentdp/go-helper/logman"
"github.com/opentdp/go-helper/request"
"github.com/opentdp/go-helper/strutil"

"github.com/opentdp/wechat-rest/args"
"github.com/opentdp/wechat-rest/wcferry"

"wechat-rest/args"
)

var wc *wcferry.Client
Expand Down
4 changes: 2 additions & 2 deletions clients/gohttp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"embed"

"github.com/opentdp/wechat-rest/args"
"github.com/opentdp/wechat-rest/httpd"
"wechat-rest/args"
"wechat-rest/httpd"
)

//go:embed public
Expand Down

0 comments on commit 646361a

Please sign in to comment.