mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +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:
@@ -1,9 +1,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris"
|
||||
"github.com/kataras/iris/v12"
|
||||
|
||||
"github.com/kataras/iris/typescript/editor"
|
||||
"github.com/kataras/iris/v12/typescript/editor"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris"
|
||||
"github.com/kataras/iris/v12"
|
||||
|
||||
"github.com/kataras/iris/typescript"
|
||||
"github.com/kataras/iris/v12/typescript"
|
||||
)
|
||||
|
||||
// NOTE: Some machines don't allow to install typescript automatically, so if you don't have typescript installed
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"github.com/kataras/iris/typescript/npm"
|
||||
"github.com/kataras/iris/v12/typescript/npm"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -5,7 +5,7 @@ package editor
|
||||
Usage:
|
||||
|
||||
|
||||
import "github.com/kataras/iris/typescript/editor"
|
||||
import "github.com/kataras/iris/v12/typescript/editor"
|
||||
[...]
|
||||
|
||||
app := iris.New()
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
|
||||
"github.com/kataras/iris/typescript/npm"
|
||||
"github.com/kataras/iris/v12/typescript/npm"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/kataras/iris/typescript/npm"
|
||||
"github.com/kataras/iris/v12/typescript/npm"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
Reference in New Issue
Block a user