update pongo2 to version 4

This commit is contained in:
Gerasimos (Makis) Maropoulos 2020-09-16 17:11:46 +03:00
parent 85b5453ae1
commit ab7ee4a331
No known key found for this signature in database
GPG Key ID: 5DBE766BD26A54E7
4 changed files with 7 additions and 8 deletions

6
NOTICE
View File

@ -77,9 +77,9 @@ Revision ID: ab226d925aa394ccecf01e515ea8479367e0961c
pio 2e3d576cc65913a https://github.com/kataras/pio pio 2e3d576cc65913a https://github.com/kataras/pio
dd6106f1ce02837 dd6106f1ce02837
2c7e6d943c 2c7e6d943c
pongo2 5abacdfa4915f8a https://github.com/flosch/pongo2 pongo2 f946812ec8d53b7 https://github.com/flosch/pongo2
fb6de6231455488 24e4daeb888c95a
066273bea6 b63c98b3c0
protobuf 6c66de79d66478d https://github.com/golang/protobuf protobuf 6c66de79d66478d https://github.com/golang/protobuf
166c7ea05f5d2cc 166c7ea05f5d2cc
af016fbd6b af016fbd6b

View File

@ -4,9 +4,8 @@ import (
"time" "time"
"github.com/kataras/iris/v12" "github.com/kataras/iris/v12"
// optionally, register filters like `timesince`.
// optionally, registers filters like `timesince`. _ "github.com/flosch/pongo2-addons/v4"
_ "github.com/iris-contrib/pongo2-addons"
) )
var startTime = time.Now() var startTime = time.Now()

2
go.mod
View File

@ -11,12 +11,12 @@ require (
github.com/dgraph-io/badger/v2 v2.2007.2 github.com/dgraph-io/badger/v2 v2.2007.2
github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385 github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
github.com/fatih/structs v1.1.0 github.com/fatih/structs v1.1.0
github.com/flosch/pongo2/v4 v4.0.0
github.com/gomodule/redigo v1.8.2 github.com/gomodule/redigo v1.8.2
github.com/google/uuid v1.1.2 github.com/google/uuid v1.1.2
github.com/hashicorp/go-version v1.2.1 github.com/hashicorp/go-version v1.2.1
github.com/iris-contrib/httpexpect/v2 v2.0.5 github.com/iris-contrib/httpexpect/v2 v2.0.5
github.com/iris-contrib/jade v1.1.4 github.com/iris-contrib/jade v1.1.4
github.com/iris-contrib/pongo2 v0.0.1
github.com/iris-contrib/schema v0.0.6 github.com/iris-contrib/schema v0.0.6
github.com/json-iterator/go v1.1.10 github.com/json-iterator/go v1.1.10
github.com/kataras/blocks v0.0.3 github.com/kataras/blocks v0.0.3

View File

@ -12,7 +12,7 @@ import (
"github.com/kataras/iris/v12/context" "github.com/kataras/iris/v12/context"
"github.com/iris-contrib/pongo2" "github.com/flosch/pongo2/v4"
) )
type ( type (