rename package name & fix bug

This commit is contained in:
jianzhiyao
2022-04-27 23:05:08 +08:00
parent 6fffb3196f
commit 978b7e4a9d
91 changed files with 231 additions and 251 deletions

View File

@@ -15,8 +15,8 @@
// Package cors provides handlers to enable CORS support.
// Usage
// import (
// "github.com/astaxie/beego"
// "github.com/astaxie/beego/plugins/cors"
// "github.com/beego/beego"
// "github.com/beego/beego/plugins/cors"
// )
//
// func main() {
@@ -42,8 +42,8 @@ import (
"strings"
"time"
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
"github.com/beego/beego"
"github.com/beego/beego/context"
)
const (

View File

@@ -21,8 +21,8 @@ import (
"testing"
"time"
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
"github.com/beego/beego"
"github.com/beego/beego/context"
)
// HTTPHeaderGuardRecorder is httptest.ResponseRecorder with own http.Header