From 0e0cd753d2ca66f9090704fc07d7a3c5baa1af40 Mon Sep 17 00:00:00 2001 From: Trevor Pounds Date: Mon, 16 Sep 2019 12:51:29 -0400 Subject: [PATCH] Update to valyala/quicktemplate v1.2.0 (#704) * Update to valyala/quicktemplate v1.2.0. * Cleanup out-of-band dep updates that bypass go.mod. --- .travis.yml | 3 --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/valyala/quicktemplate/README.md | 1 - vendor/modules.txt | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1dd667be..b31258cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,6 @@ env: - NODE_VERSION=10.16.3 before_script: - # use GO111MODULE=off otherwise libs can't be updates inside vendor/ - - GO111MODULE=off go get github.com/valyala/quicktemplate # for tests - - GO111MODULE=off go get github.com/pkg/errors # for tests - nvm install "${NODE_VERSION}" script: diff --git a/go.mod b/go.mod index 7e14b6f1..e9af5c53 100644 --- a/go.mod +++ b/go.mod @@ -42,7 +42,7 @@ require ( github.com/timakin/bodyclose v0.0.0-20190721030226-87058b9bfcec github.com/ultraware/funlen v0.0.2 github.com/ultraware/whitespace v0.0.2 - github.com/valyala/quicktemplate v1.1.1 + github.com/valyala/quicktemplate v1.2.0 golang.org/x/tools v0.0.0-20190912215617-3720d1ec3678 gopkg.in/yaml.v2 v2.2.2 mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed diff --git a/go.sum b/go.sum index 7a2f6550..48e79c23 100644 --- a/go.sum +++ b/go.sum @@ -238,8 +238,8 @@ github.com/ultraware/whitespace v0.0.2/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89 github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s= -github.com/valyala/quicktemplate v1.1.1 h1:C58y/wN0FMTi2PR0n3onltemfFabany53j7M6SDDB8k= -github.com/valyala/quicktemplate v1.1.1/go.mod h1:EH+4AkTd43SvgIbQHYu59/cJyxDoOVRUAfrukLPuGJ4= +github.com/valyala/quicktemplate v1.2.0 h1:BaO1nHTkspYzmAjPXj0QiDJxai96tlcZyKcI9dyEGvM= +github.com/valyala/quicktemplate v1.2.0/go.mod h1:EH+4AkTd43SvgIbQHYu59/cJyxDoOVRUAfrukLPuGJ4= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= diff --git a/vendor/github.com/valyala/quicktemplate/README.md b/vendor/github.com/valyala/quicktemplate/README.md index 3c104f40..3c2a420c 100644 --- a/vendor/github.com/valyala/quicktemplate/README.md +++ b/vendor/github.com/valyala/quicktemplate/README.md @@ -605,7 +605,6 @@ BenchmarkMarshalXMLQuickTemplate1000-4 30000 53000 ns/op 32 B/ * Clear syntax insead of hard-to-understand magic stuff related to template arguments, template inheritance and embedding function templates into other templates. - * Performance optimizations. * *Is there a syntax highlighting for qtpl files?* diff --git a/vendor/modules.txt b/vendor/modules.txt index 9f5b2141..b41f476a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -193,7 +193,7 @@ github.com/ultraware/funlen github.com/ultraware/whitespace # github.com/valyala/bytebufferpool v1.0.0 github.com/valyala/bytebufferpool -# github.com/valyala/quicktemplate v1.1.1 +# github.com/valyala/quicktemplate v1.2.0 github.com/valyala/quicktemplate # golang.org/x/sys v0.0.0-20190911201528-7ad0cfa0b7b5 golang.org/x/sys/unix