1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-12 21:20:40 +00:00

uing pkg module

This commit is contained in:
Ming Deng
2020-07-29 21:56:19 +08:00
parent 7312197732
commit aa06a10493
75 changed files with 192 additions and 181 deletions

View File

@ -66,11 +66,11 @@ import (
"strings"
"time"
"github.com/astaxie/beego"
"github.com/astaxie/beego/cache"
"github.com/astaxie/beego/context"
"github.com/astaxie/beego/logs"
"github.com/astaxie/beego/utils"
"github.com/astaxie/beego/pkg"
"github.com/astaxie/beego/pkg/cache"
"github.com/astaxie/beego/pkg/context"
"github.com/astaxie/beego/pkg/logs"
"github.com/astaxie/beego/pkg/utils"
)
var (

View File

@ -17,7 +17,7 @@ package captcha
import (
"testing"
"github.com/astaxie/beego/utils"
"github.com/astaxie/beego/pkg/utils"
)
type byteCounter struct {

View File

@ -15,7 +15,7 @@
package pagination
import (
"github.com/astaxie/beego/context"
"github.com/astaxie/beego/pkg/context"
)
// SetPaginator Instantiates a Paginator and assigns it to context.Input.Data("paginator").

View File

@ -8,7 +8,7 @@ In your beego.Controller:
package controllers
import "github.com/astaxie/beego/utils/pagination"
import "github.com/astaxie/beego/pkg/utils/pagination"
type PostsController struct {
beego.Controller