From 68cf7a2173ff96cf50e14fc16a7be107ef722899 Mon Sep 17 00:00:00 2001 From: Oleg Lobanov Date: Mon, 20 Dec 2021 22:26:56 +0100 Subject: [PATCH] chore: upgrade go to 1.17 --- go.mod | 51 +++++++++++++++++++++++++++++++++++++++------------ go.sum | 2 -- 2 files changed, 39 insertions(+), 14 deletions(-) diff --git a/go.mod b/go.mod index 6ba09628..a1a80fca 100644 --- a/go.mod +++ b/go.mod @@ -1,42 +1,69 @@ module github.com/filebrowser/filebrowser/v2 -go 1.16 +go 1.17 require ( - github.com/DataDog/zstd v1.4.0 // indirect - github.com/Sereal/Sereal v0.0.0-20190430203904-6faf9605eb56 // indirect github.com/asdine/storm v2.1.2+incompatible github.com/caddyserver/caddy v1.0.3 github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/disintegration/imaging v1.6.2 - github.com/dsnet/compress v0.0.1 // indirect github.com/dsoprea/go-exif/v3 v3.0.0-20201216222538-db167117f483 - github.com/golang/snappy v0.0.1 // indirect github.com/gorilla/mux v1.7.3 github.com/gorilla/websocket v1.4.1 github.com/maruel/natural v0.0.0-20180416170133-dbcb3e2e8cf1 github.com/marusama/semaphore/v2 v2.4.1 github.com/mholt/archiver v3.1.1+incompatible github.com/mitchellh/go-homedir v1.1.0 - github.com/nwaples/rardecode v1.0.0 // indirect github.com/pelletier/go-toml v1.6.0 - github.com/pierrec/lz4 v0.0.0-20190131084431-473cd7ce01a1 // indirect github.com/spf13/afero v1.2.2 github.com/spf13/cobra v0.0.5 - github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.6.1 github.com/stretchr/testify v1.6.1 github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce - github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect - github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect go.etcd.io/bbolt v1.3.3 golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 + gopkg.in/natefinch/lumberjack.v2 v2.0.0 + gopkg.in/yaml.v2 v2.3.0 +) + +require ( + github.com/DataDog/zstd v1.4.0 // indirect + github.com/Sereal/Sereal v0.0.0-20190430203904-6faf9605eb56 // indirect + github.com/cenkalti/backoff v2.1.1+incompatible // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dsnet/compress v0.0.1 // indirect + github.com/dsoprea/go-logging v0.0.0-20200517223158-a10564966e9d // indirect + github.com/dsoprea/go-utility/v2 v2.0.0-20200717064901-2fccff4aa15e // indirect + github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect + github.com/fsnotify/fsnotify v1.4.7 // indirect + github.com/go-acme/lego v2.5.0+incompatible // indirect + github.com/go-errors/errors v1.1.1 // indirect + github.com/golang/geo v0.0.0-20200319012246-673a6f80352d // indirect + github.com/golang/snappy v0.0.1 // indirect + github.com/google/uuid v1.1.1 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/klauspost/cpuid v1.2.0 // indirect + github.com/magiconair/properties v1.8.1 // indirect + github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2 // indirect + github.com/miekg/dns v1.1.3 // indirect + github.com/mitchellh/mapstructure v1.1.2 // indirect + github.com/nwaples/rardecode v1.0.0 // indirect + github.com/pierrec/lz4 v0.0.0-20190131084431-473cd7ce01a1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/spf13/cast v1.3.0 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/subosito/gotenv v1.2.0 // indirect + github.com/ulikunitz/xz v0.5.6 // indirect + github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect + github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect golang.org/x/net v0.0.0-20200528225125-3c3fba18258b // indirect golang.org/x/sys v0.0.0-20200523222454-059865788121 // indirect golang.org/x/text v0.3.2 // indirect google.golang.org/appengine v1.5.0 // indirect - gopkg.in/natefinch/lumberjack.v2 v2.0.0 - gopkg.in/yaml.v2 v2.3.0 + gopkg.in/ini.v1 v1.51.0 // indirect + gopkg.in/square/go-jose.v2 v2.2.2 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect ) diff --git a/go.sum b/go.sum index e104a73b..0a59444a 100644 --- a/go.sum +++ b/go.sum @@ -101,7 +101,6 @@ github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a/go.mod h1:wK6yTYYcgjHE1Z1QtXACPDjcFJyBskHEdagmnq3vsP8= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= @@ -302,7 +301,6 @@ gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bl gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=