using new organization
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
package pagination
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/adapter/context"
|
||||
beecontext "github.com/astaxie/beego/server/web/context"
|
||||
"github.com/astaxie/beego/server/web/pagination"
|
||||
"github.com/beego/beego/adapter/context"
|
||||
beecontext "github.com/beego/beego/server/web/context"
|
||||
"github.com/beego/beego/server/web/pagination"
|
||||
)
|
||||
|
||||
// SetPaginator Instantiates a Paginator and assigns it to context.Input.Data("paginator").
|
||||
|
||||
@@ -8,7 +8,7 @@ In your beego.Controller:
|
||||
|
||||
package controllers
|
||||
|
||||
import "github.com/astaxie/beego/utils/pagination"
|
||||
import "github.com/beego/beego/utils/pagination"
|
||||
|
||||
type PostsController struct {
|
||||
beego.Controller
|
||||
|
||||
@@ -17,7 +17,7 @@ package pagination
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/astaxie/beego/core/utils/pagination"
|
||||
"github.com/beego/beego/core/utils/pagination"
|
||||
)
|
||||
|
||||
// Paginator within the state of a http request.
|
||||
|
||||
Reference in New Issue
Block a user