using new organization

This commit is contained in:
Ming Deng
2020-12-13 23:09:19 +08:00
parent 093f976365
commit a70f7fc920
253 changed files with 504 additions and 503 deletions

View File

@@ -6,9 +6,9 @@ an example for use captcha
package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/cache"
"github.com/astaxie/beego/utils/captcha"
"github.com/beego/beego"
"github.com/beego/beego/cache"
"github.com/beego/beego/utils/captcha"
)
var cpt *captcha.Captcha

View File

@@ -19,9 +19,9 @@
// package controllers
//
// import (
// "github.com/astaxie/beego"
// "github.com/astaxie/beego/cache"
// "github.com/astaxie/beego/utils/captcha"
// "github.com/beego/beego"
// "github.com/beego/beego/cache"
// "github.com/beego/beego/utils/captcha"
// )
//
// var cpt *captcha.Captcha
@@ -63,11 +63,11 @@ import (
"net/http"
"time"
"github.com/astaxie/beego/server/web/captcha"
beecontext "github.com/astaxie/beego/server/web/context"
"github.com/beego/beego/server/web/captcha"
beecontext "github.com/beego/beego/server/web/context"
"github.com/astaxie/beego/adapter/cache"
"github.com/astaxie/beego/adapter/context"
"github.com/beego/beego/adapter/cache"
"github.com/beego/beego/adapter/context"
)
var (

View File

@@ -17,7 +17,7 @@ package captcha
import (
"io"
"github.com/astaxie/beego/server/web/captcha"
"github.com/beego/beego/server/web/captcha"
)
// Image struct

View File

@@ -17,7 +17,7 @@ package captcha
import (
"testing"
"github.com/astaxie/beego/adapter/utils"
"github.com/beego/beego/adapter/utils"
)
const (