From c5d3c2c136bfc7d1792a94aeff112a4cb9634792 Mon Sep 17 00:00:00 2001 From: razonyang Date: Thu, 27 Aug 2020 05:46:12 +0800 Subject: [PATCH] Upgrade to Jet v5 --- README.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- loader.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6354cf3..3d77301 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ See [example](https://github.com/clevergo/examples/tree/master/jetrenderer). package main import ( - "github.com/CloudyKit/jet/v4" + "github.com/CloudyKit/jet/v5" "github.com/clevergo/jetpackr" "github.com/gobuffalo/packr/v2" ) diff --git a/go.mod b/go.mod index 6423519..bca9a68 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module clevergo.tech/jetpackr go 1.13 require ( - github.com/CloudyKit/jet/v4 v4.0.0 + github.com/CloudyKit/jet/v5 v5.0.2 github.com/gobuffalo/packr/v2 v2.8.0 ) diff --git a/go.sum b/go.sum index ad4ee10..f9ff18d 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53 h1:sR+/8Yb4slttB4vD+b9btVEnWgL3Q00OBTzVT8B9C0c= github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= -github.com/CloudyKit/jet/v4 v4.0.0 h1:DbmxHOMAeEMJqxmKWGcfc+d13iGhlNnuyPGj5fTf96I= -github.com/CloudyKit/jet/v4 v4.0.0/go.mod h1:DhUsGNEpjPmBD0zmGNP8DaSV1dGO8g9U4adIK8BCWmw= +github.com/CloudyKit/jet/v5 v5.0.2 h1:BRmCtzF/jn8JlZk+c93WcO2bzaJJVjjAhGmsa/6JBoE= +github.com/CloudyKit/jet/v5 v5.0.2/go.mod h1:dmmuzWBdd8bDyJYGZVFdhD21ptN+mjyigFubrffTGTw= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= diff --git a/loader.go b/loader.go index f26e98b..96dcecf 100644 --- a/loader.go +++ b/loader.go @@ -7,7 +7,7 @@ package jetpackr import ( "io" - "github.com/CloudyKit/jet/v4" + "github.com/CloudyKit/jet/v5" "github.com/gobuffalo/packr/v2" )