1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +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

@@ -126,7 +126,7 @@ func hi(ctx iris.Context) {
## Embedded
View engine supports bundled(https://github.com/shuLhan/go-bindata) template files too.
View engine supports bundled(https://github.com/go-bindata/go-bindata) template files too.
`go-bindata` gives you two functions, `Assset` and `AssetNames`,
these can be set to each of the template engines using the `.Binary` function.
@@ -139,7 +139,7 @@ import "github.com/kataras/iris/v12"
func main() {
app := iris.New()
// $ 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