using new organization
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -17,7 +17,7 @@ package captcha
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/astaxie/beego/server/web/captcha"
|
||||
"github.com/beego/beego/server/web/captcha"
|
||||
)
|
||||
|
||||
// Image struct
|
||||
|
||||
@@ -17,7 +17,7 @@ package captcha
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/astaxie/beego/adapter/utils"
|
||||
"github.com/beego/beego/adapter/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user