diff --git a/context/output.go b/context/output.go index 6ffc5072..60912313 100644 --- a/context/output.go +++ b/context/output.go @@ -15,7 +15,6 @@ package context import ( - "beego/acceptencoder" "bytes" "encoding/json" "encoding/xml" @@ -29,6 +28,8 @@ import ( "strconv" "strings" "time" + + "github.com/astaxie/beego/acceptencoder" ) // BeegoOutput does work for sending response header. diff --git a/memzipfile.go b/memzipfile.go index 12b63eae..79e20a6c 100644 --- a/memzipfile.go +++ b/memzipfile.go @@ -15,7 +15,6 @@ package beego import ( - "beego/acceptencoder" "bytes" "errors" "io" @@ -23,6 +22,8 @@ import ( "os" "sync" "time" + + "github.com/astaxie/beego/acceptencoder" ) var ( diff --git a/staticfile.go b/staticfile.go index 20f7c519..ec6a74ab 100644 --- a/staticfile.go +++ b/staticfile.go @@ -15,7 +15,6 @@ package beego import ( - "beego/acceptencoder" "net/http" "os" "path" @@ -23,6 +22,7 @@ import ( "strconv" "strings" + "github.com/astaxie/beego/acceptencoder" "github.com/astaxie/beego/context" "github.com/astaxie/beego/utils" )