Merge pull request #98 from opentdp/master

Fix package name
This commit is contained in:
Changhua
2023-12-19 09:56:27 +08:00
committed by GitHub
5 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/opentdp/wechat-rest
module wechat-rest
go 1.21
+2 -1
View File
@@ -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) {
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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