diff --git a/go.mod b/go.mod index f92cdb3..d354b1e 100644 --- a/go.mod +++ b/go.mod @@ -4,10 +4,10 @@ go 1.20 require ( github.com/gizak/termui/v3 v3.1.0 - github.com/hedzr/cmdr v1.11.20 + github.com/hedzr/cmdr v1.11.21 github.com/hedzr/cmdr-addons v1.11.20 - github.com/hedzr/log v1.6.18 - github.com/hedzr/logex v1.6.19 + github.com/hedzr/log v1.6.21 + github.com/hedzr/logex v1.6.21 github.com/kardianos/service v1.2.2 github.com/nsf/termbox-go v1.1.1 github.com/sirupsen/logrus v1.9.3 @@ -16,7 +16,7 @@ require ( golang.org/x/crypto v0.14.0 golang.org/x/sys v0.13.0 gopkg.in/AlecAivazis/survey.v1 v1.8.8 - gopkg.in/hedzr/errors.v3 v3.1.6 + gopkg.in/hedzr/errors.v3 v3.1.9 gopkg.in/yaml.v2 v2.4.0 ) @@ -37,7 +37,7 @@ require ( github.com/golang-jwt/jwt v3.2.2+incompatible // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/hedzr/cmdr-base v1.0.0 // indirect - github.com/hedzr/evendeep v0.4.8 // indirect + github.com/hedzr/evendeep v0.4.13 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect @@ -72,6 +72,7 @@ require ( golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 195727c..15bee48 100644 --- a/go.sum +++ b/go.sum @@ -46,19 +46,18 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/hedzr/cmdr v1.11.20 h1:3yYLFzrMG6ZMVJFvkKm0TJxw08loIfgBlvPH+e7u/y4= -github.com/hedzr/cmdr v1.11.20/go.mod h1:cPOLCAHqH3BmZmeKfQJTxtialsBUVoXZSIEy5PBDCgM= +github.com/hedzr/cmdr v1.11.21 h1:X7r+spldOBSDk6nHoWLwxEheM9x9J+FQSVJA9vt0V0A= +github.com/hedzr/cmdr v1.11.21/go.mod h1:eWnRr/KTG2II9yvhUOKg5H5o7mhyBfhNQ8dW3BPAqIw= github.com/hedzr/cmdr-addons v1.11.20 h1:F8z1vIkS3dtjuBwMwJVdt1O8Q6Y5fpnz58+/JTiJOdQ= github.com/hedzr/cmdr-addons v1.11.20/go.mod h1:qcztza8s1N3yh/TAS5a0uLWJl7Gi0r5TZ02yMl7889g= github.com/hedzr/cmdr-base v1.0.0 h1:6KY06e54o4mAkGf5MAHlCAuwH0X1xGIR6Hb+BjEfs1o= github.com/hedzr/cmdr-base v1.0.0/go.mod h1:c3vMkHa5PME2P2W8lE3T9+JX12tq9tmCUt6lXbmt5kI= -github.com/hedzr/evendeep v0.4.8 h1:Zhz2d4L7EWXRIqO2tcZYHAqoEevW9HXx3n4Z5JcDWxc= -github.com/hedzr/evendeep v0.4.8/go.mod h1:a5Thsi9jGBKJw1qJZ3767jNJe+52yhHVScszY1LTqfY= -github.com/hedzr/log v1.6.15/go.mod h1:NHEKHHlG4dVXYlmmetB9IchN8obVEbOJRKOKQgT6DTM= -github.com/hedzr/log v1.6.18 h1:2aJpCNWoKq6yzBEjODY0BRJXmkHd3hbOa/Cc1HAYDaU= -github.com/hedzr/log v1.6.18/go.mod h1:1HF3kWUTOZp0CSq225uMTMkWCDUizqYhpVnTrWTMUmY= -github.com/hedzr/logex v1.6.19 h1:FjObfAyDbgchXY9tdUVs4wlqiQZPtTBEyGzf8TGhmdg= -github.com/hedzr/logex v1.6.19/go.mod h1:TiUz5pfB/rhBs9913rAF3EFLUKA61UYxbcrar/04zDg= +github.com/hedzr/evendeep v0.4.13 h1:NxhfATs9D1OWVuHHvrhxG6RLZGfA6UqigEknlWpDUWI= +github.com/hedzr/evendeep v0.4.13/go.mod h1:AJpD8ns3wD04NNiYwpLUArpcur9AFKdhE5rixXgqcew= +github.com/hedzr/log v1.6.21 h1:Jc6YfNZ1UQWgiGDJJQlxslVDzjzX/uYLFsz5VfU9yUo= +github.com/hedzr/log v1.6.21/go.mod h1:HIThqtUe8bLIUcaOfoeOqNoSCqJcu/Iwt++HExRQNDE= +github.com/hedzr/logex v1.6.21 h1:YZ0cOYkMDEr1w0u5/VKbAOxw/SCb6sMuBYKKGF0Bc5k= +github.com/hedzr/logex v1.6.21/go.mod h1:ooQ9N5dYQcOOD6CbBHODaV31vRK6geC7b3SPYm0yCfQ= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174 h1:WlZsjVhE8Af9IcZDGgJGQpNflI3+MJSBhsgT5PCtzBQ= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= @@ -207,8 +206,9 @@ golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= @@ -216,9 +216,8 @@ gopkg.in/AlecAivazis/survey.v1 v1.8.8 h1:5UtTowJZTz1j7NxVzDGKTz6Lm9IWm8DDF6b7a2w gopkg.in/AlecAivazis/survey.v1 v1.8.8/go.mod h1:CaHjv79TCgAvXMSFJSVgonHXYWxnhzI3eoHtnX5UgUo= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/hedzr/errors.v3 v3.1.5/go.mod h1:UwtyepqtGTIAmdZGSc7wxXT5Gfd/BjcfRMhPpxwkJM4= -gopkg.in/hedzr/errors.v3 v3.1.6 h1:loBzvlBOk9tLRI6aX8c14UJ8vn7LoRRT/lqM9K+tMS4= -gopkg.in/hedzr/errors.v3 v3.1.6/go.mod h1:UwtyepqtGTIAmdZGSc7wxXT5Gfd/BjcfRMhPpxwkJM4= +gopkg.in/hedzr/errors.v3 v3.1.9 h1:jIoH/y5rdQQf6TLCFBRDd6EbcBQ0BFt0QpzAfCrrdhk= +gopkg.in/hedzr/errors.v3 v3.1.9/go.mod h1:UwtyepqtGTIAmdZGSc7wxXT5Gfd/BjcfRMhPpxwkJM4= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=