From 2e3aa6e6b801227c360b719d9784528e4b0d08df Mon Sep 17 00:00:00 2001 From: Taco de Wolff Date: Mon, 17 Jul 2023 17:56:28 +0200 Subject: [PATCH] Update Go version to 1.18, fixes #593 --- README.md | 2 +- go.mod | 9 ++++++--- go.sum | 2 ++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a65ffee1ee..4f601b874c 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Minifiers or bindings to minifiers exist in almost all programming languages. So This minifier proves to be that fast and extensive minifier that can handle HTML and any other filetype it may contain (CSS, JS, ...). It is usually orders of magnitude faster than existing minifiers. ## Installation -Make sure you have [Git](https://git-scm.com/) and [Go](https://golang.org/dl/) (1.13 or higher) installed, run +Make sure you have [Git](https://git-scm.com/) and [Go](https://golang.org/dl/) (1.18 or higher) installed, run ``` mkdir Project cd Project diff --git a/go.mod b/go.mod index cebe363a77..64cc1b5f75 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,8 @@ module github.com/tdewolff/minify/v2 -go 1.13 +go 1.18 require ( - github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect github.com/djherbis/atime v1.1.0 github.com/dustin/go-humanize v1.0.1 github.com/fsnotify/fsnotify v1.6.0 @@ -11,5 +10,9 @@ require ( github.com/spf13/pflag v1.0.5 github.com/tdewolff/parse/v2 v2.6.6 github.com/tdewolff/test v1.0.9 - golang.org/x/sys v0.6.0 // indirect +) + +require ( + github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect + golang.org/x/sys v0.10.0 // indirect ) diff --git a/go.sum b/go.sum index dd790e5ef3..48d893dfff 100644 --- a/go.sum +++ b/go.sum @@ -18,3 +18,5 @@ github.com/tdewolff/test v1.0.9/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYq golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=