mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c. Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
This commit is contained in:
26
iris.go
26
iris.go
@@ -17,27 +17,27 @@ import (
|
||||
"github.com/kataras/golog"
|
||||
|
||||
// context for the handlers
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
// core packages, required to build the application
|
||||
"github.com/kataras/iris/core/errgroup"
|
||||
"github.com/kataras/iris/core/host"
|
||||
"github.com/kataras/iris/core/netutil"
|
||||
"github.com/kataras/iris/core/router"
|
||||
"github.com/kataras/iris/v12/core/errgroup"
|
||||
"github.com/kataras/iris/v12/core/host"
|
||||
"github.com/kataras/iris/v12/core/netutil"
|
||||
"github.com/kataras/iris/v12/core/router"
|
||||
|
||||
// handlerconv conversions
|
||||
"github.com/kataras/iris/core/handlerconv"
|
||||
"github.com/kataras/iris/v12/core/handlerconv"
|
||||
// cache conversions
|
||||
"github.com/kataras/iris/cache"
|
||||
"github.com/kataras/iris/v12/cache"
|
||||
// view
|
||||
"github.com/kataras/iris/view"
|
||||
"github.com/kataras/iris/v12/view"
|
||||
// middleware used in Default method
|
||||
|
||||
requestLogger "github.com/kataras/iris/middleware/logger"
|
||||
"github.com/kataras/iris/middleware/recover"
|
||||
requestLogger "github.com/kataras/iris/v12/middleware/logger"
|
||||
"github.com/kataras/iris/v12/middleware/recover"
|
||||
)
|
||||
|
||||
// Version is the current version number of the Iris Web Framework.
|
||||
const Version = "11.2.8"
|
||||
const Version = "12.0.0"
|
||||
|
||||
// HTTP status codes as registered with IANA.
|
||||
// See: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml.
|
||||
@@ -434,7 +434,7 @@ var (
|
||||
// Cache304 sends a `StatusNotModified` (304) whenever
|
||||
// the "If-Modified-Since" request header (time) is before the
|
||||
// time.Now() + expiresEvery (always compared to their UTC values).
|
||||
// Use this, which is a shortcut of the, `chache#Cache304` instead of the "github.com/kataras/iris/cache" or iris.Cache
|
||||
// Use this, which is a shortcut of the, `chache#Cache304` instead of the "github.com/kataras/iris/v12/cache" or iris.Cache
|
||||
// for better performance.
|
||||
// Clients that are compatible with the http RCF (all browsers are and tools like postman)
|
||||
// will handle the caching.
|
||||
@@ -809,7 +809,7 @@ func Raw(f func() error) Runner {
|
||||
// If error occured while building the Application, the returns type of error will be an *errgroup.Group
|
||||
// which let the callers to inspect the errors and cause, usage:
|
||||
//
|
||||
// import "github.com/kataras/iris/core/errgroup"
|
||||
// import "github.com/kataras/iris/v12/core/errgroup"
|
||||
//
|
||||
// errgroup.Walk(app.Build(), func(typ interface{}, err error) {
|
||||
// app.Logger().Errorf("%s: %s", typ, err)
|
||||
|
||||
Reference in New Issue
Block a user