1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-22 03:15:58 +00:00

Update to version 12.1.4

Former-commit-id: aeb039ea25a831ad1087b1994be97b349a8ed4aa
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-12-29 19:14:41 +02:00
parent a30fe26095
commit 269b832ade
16 changed files with 30 additions and 20 deletions

View File

@@ -4,5 +4,5 @@ go 1.13
require (
github.com/betacraft/yaag v1.0.1-0.20191027021412-565f65e36090
github.com/kataras/iris/v12 v12.1.3
github.com/kataras/iris/v12 v12.1.4
)

View File

@@ -5,7 +5,7 @@ import (
)
// Follow these steps first:
// $ go get -u github.com/shuLhan/go-bindata/...
// $ go get -u github.com/go-bindata/go-bindata/...
// $ go-bindata ./assets/...
// $ go build
// $ ./embedding-files-into-app

View File

@@ -2,7 +2,7 @@ package main
import "github.com/kataras/iris/v12"
// $ go get -u github.com/shuLhan/go-bindata/...
// $ go get -u github.com/go-bindata/go-bindata/...
// $ go-bindata ./public/...
// $ go build
// $ ./embedded-single-page-application-with-other-routes

View File

@@ -4,7 +4,7 @@ import (
"github.com/kataras/iris/v12"
)
// $ go get -u github.com/shuLhan/go-bindata/...
// $ go get -u github.com/go-bindata/go-bindata/...
// $ go-bindata ./public/...
// $ go run .

View File

@@ -13,7 +13,7 @@ func main() {
return "Greetings " + s + "!"
})
// $ go get -u github.com/shuLhan/go-bindata/...
// $ go get -u github.com/go-bindata/go-bindata/...
// $ go-bindata ./templates/...
// $ go build
// $ ./embedding-templates-into-app

View File

@@ -6,7 +6,7 @@ This example teaches you how to use jet templates embedded in your applications
This example is a customized fork of https://github.com/CloudyKit/jet/tree/master/examples/asset_packaging, so you can
notice the differences side by side. For example, you don't have to use any external package inside your application,
Iris manually builds the template loader for binary data when Asset and AssetNames are available through tools like the [go-bindata](github.com/shuLhan/go-bindata).
Iris manually builds the template loader for binary data when Asset and AssetNames are available through tools like the [go-bindata](github.com/go-bindata/go-bindata).
Note that you can still use any custom loaders through the `JetEngine.SetLoader`
which overrides any previous loaders like `JetEngine.Binary` we use on this example.
@@ -14,7 +14,7 @@ which overrides any previous loaders like `JetEngine.Binary` we use on this exam
## How to run
```sh
$ go get -u github.com/shuLhan/go-bindata/... # or any active alternative
$ go get -u github.com/go-bindata/go-bindata/...
$ go-bindata ./views/...
$ go build
$ ./template_jet_0_embedded

View File

@@ -4,5 +4,5 @@ go 1.13
require (
github.com/googollee/go-socket.io v1.4.3-0.20191109153049-7451e2f8c2e0 // indirect
github.com/kataras/iris/v12 v12.1.3
github.com/kataras/iris/v12 v12.1.4
)