diff --git a/go.mod b/go.mod index 24881f5..ca419dd 100644 --- a/go.mod +++ b/go.mod @@ -17,10 +17,10 @@ go 1.17 // replace github.com/hedzr/errors => ../errors require ( - github.com/hedzr/cmdr v1.11.23 - github.com/hedzr/log v1.6.23 - github.com/hedzr/logex v1.6.23 - gopkg.in/hedzr/errors.v3 v3.1.11 + github.com/hedzr/cmdr v1.11.25 + github.com/hedzr/log v1.6.25 + github.com/hedzr/logex v1.6.25 + gopkg.in/hedzr/errors.v3 v3.3.0 gopkg.in/hedzr/go-ringbuf.v1 v1.0.3 ) diff --git a/go.sum b/go.sum index 03fcaf3..41df6b8 100644 --- a/go.sum +++ b/go.sum @@ -3,29 +3,20 @@ github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -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 v1.11.23 h1:8QokcsjfN+MEvKzzJaJxA7Rg7A2x+greQcaItqvtgl8= -github.com/hedzr/cmdr v1.11.23/go.mod h1:hwh3tXQg4/XPKr6BczbJ7PHDUdNUkgnPh7VCBt6wNRk= +github.com/hedzr/cmdr v1.11.25 h1:zw9UGoqgUw9Cntrh2O1YoHS6BF0xA3Qw/yaqnyiGnhU= +github.com/hedzr/cmdr v1.11.25/go.mod h1:lQO9+LJb/2Sz0CHhXm+1JYN/n1ad0qgeWtwwzehcHDg= 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.13 h1:NxhfATs9D1OWVuHHvrhxG6RLZGfA6UqigEknlWpDUWI= -github.com/hedzr/evendeep v0.4.13/go.mod h1:AJpD8ns3wD04NNiYwpLUArpcur9AFKdhE5rixXgqcew= github.com/hedzr/evendeep v0.4.17 h1:STAp07RP+xcAP2z/R7lVuZMqLNSll5mfub9P4eS6Qps= github.com/hedzr/evendeep v0.4.17/go.mod h1:IdeVmPe7LhYQGlQYKg379b7PzXGKGdwNE4xGouU4Cjg= github.com/hedzr/log v1.6.1/go.mod h1:ivg8kPFKy7vVLPoZgn+NyQOpY16LFPDvtS0lu1z8gdc= -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/log v1.6.23 h1:b+Y3ywZ+jcm3FYVmg5hptmIE1z0hZ49AJUCfnrgOhMc= github.com/hedzr/log v1.6.23/go.mod h1:hWkbCcshubJUPZIL/AAQeaSORTpoSQfWP7rNGYY7ooY= -github.com/hedzr/logex v1.6.21 h1:YZ0cOYkMDEr1w0u5/VKbAOxw/SCb6sMuBYKKGF0Bc5k= -github.com/hedzr/logex v1.6.21/go.mod h1:ooQ9N5dYQcOOD6CbBHODaV31vRK6geC7b3SPYm0yCfQ= -github.com/hedzr/logex v1.6.23 h1:iH7cycpgti3iluS+1vrGvnxm2ZWRMv5l5aN4nRwErxw= -github.com/hedzr/logex v1.6.23/go.mod h1:tYhStU23/Jkbt3vxVg2MU62y0OJf+HZtrxaMapa2stk= +github.com/hedzr/log v1.6.25 h1:AEA2NQlNhYRKi+UdmAslZ3vZOECozlRPSBD5UI6GP7M= +github.com/hedzr/log v1.6.25/go.mod h1:zQkaAR9O29QtrJLwzeWWeHoxjS+c6DQ/+jV/rSxkFlU= +github.com/hedzr/logex v1.6.25 h1:3E9Nx3n4LCB3bzIbMkM935wXfqKrSsWi3qVOnKzDUwE= +github.com/hedzr/logex v1.6.25/go.mod h1:+J7Wvch6zHZ3IKjzXpMNRdhmoELrYRZYUwZM/meIYJI= github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= @@ -38,9 +29,7 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= @@ -49,9 +38,6 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -63,27 +49,23 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= -golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= @@ -92,13 +74,11 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T 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.0/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/hedzr/errors.v3 v3.1.11 h1:kF8Wf45EpQVDqdjZZt0E1p6NFhAB+6cT8eR3k5K6Jc8= gopkg.in/hedzr/errors.v3 v3.1.11/go.mod h1:UwtyepqtGTIAmdZGSc7wxXT5Gfd/BjcfRMhPpxwkJM4= +gopkg.in/hedzr/errors.v3 v3.3.0 h1:yRrvjfAyMV5Sn4aMVJM0/aE1Xrm7IP637SENduQAKE4= +gopkg.in/hedzr/errors.v3 v3.3.0/go.mod h1:UwtyepqtGTIAmdZGSc7wxXT5Gfd/BjcfRMhPpxwkJM4= gopkg.in/hedzr/go-ringbuf.v1 v1.0.3 h1:E36322FCxXRIpO27YPBluokTUGJJ83WwyLvTtDQ/KVk= gopkg.in/hedzr/go-ringbuf.v1 v1.0.3/go.mod h1:CMbQLHIZ3o74T3vULROiL8lm/sTlE4TUvzuLzbUTH4Y= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=