From 846b3a2db6745c71ee664309ceaf66553edc3b36 Mon Sep 17 00:00:00 2001 From: Hedzr Yeh Date: Tue, 2 Apr 2024 10:15:43 +0800 Subject: [PATCH] update deps in examples/ and tests/ --- examples/demo/go.mod | 34 ++++++++++------------ examples/demo/go.sum | 52 ++++++++++++++++----------------- examples/large/go.mod | 34 ++++++++++------------ examples/large/go.sum | 52 ++++++++++++++++----------------- tests/go.mod | 34 ++++++++++------------ tests/go.sum | 68 +++++++++++++++++-------------------------- 6 files changed, 126 insertions(+), 148 deletions(-) diff --git a/examples/demo/go.mod b/examples/demo/go.mod index 2e7cf33..a5e5a8c 100644 --- a/examples/demo/go.mod +++ b/examples/demo/go.mod @@ -40,38 +40,36 @@ go 1.21 // replace github.com/hedzr/store/providers/file => ../../../libs.store/providers/file -replace github.com/hedzr/cmdr/v2 => ../../ +// replace github.com/hedzr/cmdr/v2 => ../../ -replace github.com/hedzr/cmdr/v2/loaders => ../../loaders +// replace github.com/hedzr/cmdr/v2/loaders => ../../loaders require ( - github.com/hedzr/cmdr/v2 v2.0.0-00010101000000-000000000000 - github.com/hedzr/cmdr/v2/loaders v0.0.0-00010101000000-000000000000 - github.com/hedzr/logg v0.5.13 - github.com/hedzr/store v1.0.0 + github.com/hedzr/logg v0.5.18 + github.com/hedzr/store v1.0.5 ) require ( github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hedzr/evendeep v1.1.6 // indirect - github.com/hedzr/is v0.5.17 // indirect - github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792 // indirect + github.com/hedzr/evendeep v1.1.8 // indirect + github.com/hedzr/is v0.5.18 // indirect + github.com/hedzr/store/codecs/hcl v1.0.3 // indirect + github.com/hedzr/store/codecs/hjson v1.0.3 // indirect + github.com/hedzr/store/codecs/json v1.0.3 // indirect + github.com/hedzr/store/codecs/nestext v1.0.3 // indirect + github.com/hedzr/store/codecs/toml v1.0.3 // indirect + github.com/hedzr/store/codecs/yaml v1.0.3 // indirect + github.com/hedzr/store/providers/env v1.0.3 // indirect + github.com/hedzr/store/providers/file v1.0.3 // indirect github.com/hjson/hjson-go/v4 v4.4.0 // indirect github.com/npillmayer/nestext v0.1.3 // indirect github.com/pelletier/go-toml/v2 v2.2.0 // indirect golang.org/x/crypto v0.21.0 // indirect - golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect + golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect golang.org/x/net v0.22.0 // indirect golang.org/x/sys v0.18.0 // indirect golang.org/x/term v0.18.0 // indirect - gopkg.in/hedzr/errors.v3 v3.3.1 // indirect + gopkg.in/hedzr/errors.v3 v3.3.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/examples/demo/go.sum b/examples/demo/go.sum index 636b82b..8057230 100644 --- a/examples/demo/go.sum +++ b/examples/demo/go.sum @@ -5,30 +5,30 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hedzr/evendeep v1.1.6 h1:q6HinHO1w28Az2CpukwQ7PwWaO32qmjVdqbfX7rDXeA= -github.com/hedzr/evendeep v1.1.6/go.mod h1:6RCGJvyVLK9bAf/0P1slhCxaWb3C6UFnlNf3uNMOWxE= -github.com/hedzr/is v0.5.17 h1:REHKfMjzLWL2o40QwfcuYaz6iTBalqluz7gVnRMf5Ls= -github.com/hedzr/is v0.5.17/go.mod h1:kRHlHbfm9K4IfgUTRqBY4u/mRgAHJGDlxECb8gUi5aM= -github.com/hedzr/logg v0.5.13 h1:igXPvEQVAFpmnIBqM/aCFJG1ujxN2wzrVl4wLJSn6Ww= -github.com/hedzr/logg v0.5.13/go.mod h1:vlmpC86lGIxYbMIwEZ/W7SCSMPjPkOCbiojnSXYj0Z4= -github.com/hedzr/store v1.0.0 h1:HZ6LJA6/M3ypsVlSixKfWbY7IOh2hJ6L95ZWj2McZKQ= -github.com/hedzr/store v1.0.0/go.mod h1:3tFSwPGzkDxAOVyHoBa8j9SPPMoN4b6c8b5IR01VCPM= -github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792 h1:SikIMIEYa7mpELo9Zq31sZyR9w8rtr5XbPq/Psg+0fg= -github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792/go.mod h1:i2rhPYDsZBMfEm0V/Ql5LnEBCbfARQCCT3rDwlVbKes= -github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792 h1:uGiED31y1s7TIuIeAFNyYbtmiYhlYBl0k8YqRAN03as= -github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792/go.mod h1:VaqHxwga9WV37StpMgEWpWF+BOHHMKKOwpdFgaMy8Gs= -github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792 h1:8q+mk+qIj1IWR739QpWFogJ56ULHlYx4CzarFRk0x7U= -github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792/go.mod h1:SoW3Cya3ImOhtz6VeswDFANFZrELuvfnV9MUQEXZA8g= -github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792 h1:8a9nfX0pCNeDz06LNGHUFu6er7bbl2H65Gxc6z5c94U= -github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792/go.mod h1:2+SW1RmKwQQgD/UxfAIkFV+PgSSPlTqmTX+slcSMv14= -github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792 h1:jC+NzT8wKPuubUOFJ2YmDJ2/uIVdZWhjIIgnOWyO4zA= -github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792/go.mod h1:3rwl/o/cg7c1j3hIvKeXSSl8kJfP0ilXqBm3N7Pq4ic= -github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792 h1:9CtH0vkq250sdK1/0EXDlPzo/MtYRWDLkUNRYq4xXkU= -github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792/go.mod h1:lbIMMZ2Wu4jaC1W1EGk1JB6gCFnAgDF1CiQzQsijQMA= -github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792 h1:YlHL+y6051b8vBluN67rMdMQXwGzeXJ3gY9KQYi8ytM= -github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792/go.mod h1:Z+6BXPD71IACuh+bTZKqRw0S3dg86y6yBl7I58W3q2c= -github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792 h1:gtq6ZXU1HmNqH69SJqCFj/mO8+YOTQ1QhoJg1wMmHRY= -github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792/go.mod h1:+Ss1wwdu99iIYT4PQn2L/S68FvhdBSKkM0HdtVSkLgw= +github.com/hedzr/evendeep v1.1.7 h1:AS7X3Gpzu6fKmKR+isNsgtMh672fw8hHUHeBOPHBcJU= +github.com/hedzr/evendeep v1.1.7/go.mod h1:jS/DucxL2KzGP4SuBP+FoaouiEPt3m9N74znRbFpSig= +github.com/hedzr/is v0.5.18 h1:FJWNNl5wYDvGstX5uzI4LR1wHttunlCAMHxNQRIXOOE= +github.com/hedzr/is v0.5.18/go.mod h1:kRHlHbfm9K4IfgUTRqBY4u/mRgAHJGDlxECb8gUi5aM= +github.com/hedzr/logg v0.5.18 h1:bf4Jv/TmhX9Vruod1QQYm7xvxMZGAtQEnAkEfdxOOYo= +github.com/hedzr/logg v0.5.18/go.mod h1:Q1hbRf8eA/KLYlk/CmW1fSGrEhFlKYUv8zGs8X6b/g8= +github.com/hedzr/store v1.0.3 h1:kXNwaYUr/mp/buuZSuZsZDlZCjUvtds8KpKIRBwWah8= +github.com/hedzr/store v1.0.3/go.mod h1:8d77D72cr5fwUidMuNQLvo47Ci1hT5uGFBPUGXK1yfQ= +github.com/hedzr/store/codecs/hcl v1.0.3 h1:8FmKdkM/Yi0fS5wkJzCFeFPN/ePLwoRpGA7lVxJjKGw= +github.com/hedzr/store/codecs/hcl v1.0.3/go.mod h1:Eh0zRZNkbt0PQMXOqaKT1AGMHhr2bif9FFt+6V9SM60= +github.com/hedzr/store/codecs/hjson v1.0.3 h1:m28JBW6ZJ+Upri0JYnuObfm4dWpJEaFmh9UPIMQ0Yvc= +github.com/hedzr/store/codecs/hjson v1.0.3/go.mod h1:sOOQo1GgPu0QA4AK9Q4P/18PwWOLGIbA3isfLqc+9r8= +github.com/hedzr/store/codecs/json v1.0.3 h1:q9Zfbg/pLlA7QXcFrWycFelF4q/fouBfXMjoOyKUuvs= +github.com/hedzr/store/codecs/json v1.0.3/go.mod h1:cMSA0Hq5oTUmRc64qX3QYDrwluMLGBITMcYHiptrUbg= +github.com/hedzr/store/codecs/nestext v1.0.3 h1:JnjHkguK9Zp/mycwBzDJW+70+2aab/MuhNtmlbUlYFE= +github.com/hedzr/store/codecs/nestext v1.0.3/go.mod h1:hZmeNY7weh1L8e5ibKvXviPktDModRqvNC7NwKPEaKk= +github.com/hedzr/store/codecs/toml v1.0.3 h1:njo4NTu14hcVRCtUyu1F6JKJ4OIm3T1qYrZHQ25J4N0= +github.com/hedzr/store/codecs/toml v1.0.3/go.mod h1:dH5WsyMQViaMyDtC8Gwl786UqxZGgwMSil2ikiEtNc0= +github.com/hedzr/store/codecs/yaml v1.0.3 h1:9W7+Al7ihmvOZz7iW/WAGUHF9DHMUViWtQ8agfThOdw= +github.com/hedzr/store/codecs/yaml v1.0.3/go.mod h1:DS2AKuCF54UgDkqK/Ihls5N38jO9NWP0hyUQHGAbyaA= +github.com/hedzr/store/providers/env v1.0.3 h1:q7uHx9Fs+BhjXeVBQ2CpGVsnxuPe2nSTMg3l42zjiPQ= +github.com/hedzr/store/providers/env v1.0.3/go.mod h1:KHaRpAnAKfs0CkZ/bYjlBGeyNS7fqlwPXp964scbdus= +github.com/hedzr/store/providers/file v1.0.3 h1:hyUq4Cf/IsH5p9TMvKA4gFX44D8972ED1DrAxSWt/MY= +github.com/hedzr/store/providers/file v1.0.3/go.mod h1:MMHs/obHnD3Q20xfwjlQdpW5JGs4Pqx/M+KPCIGgWAI= github.com/hjson/hjson-go/v4 v4.4.0 h1:D/NPvqOCH6/eisTb5/ztuIS8GUvmpHaLOcNk1Bjr298= github.com/hjson/hjson-go/v4 v4.4.0/go.mod h1:KaYt3bTw3zhBjYqnXkYywcYctk0A2nxeEFTse3rH13E= github.com/npillmayer/nestext v0.1.3 h1:2dkbzJ5xMcyJW5b8wwrX+nnRNvf/Nn1KwGhIauGyE2E= @@ -48,8 +48,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= -golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc= -golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= +golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88pSyOt+UgdZw2BFZ+lEw= +golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= diff --git a/examples/large/go.mod b/examples/large/go.mod index 325373f..ae886db 100644 --- a/examples/large/go.mod +++ b/examples/large/go.mod @@ -40,38 +40,36 @@ go 1.21 // replace github.com/hedzr/store/providers/file => ../../../libs.store/providers/file -replace github.com/hedzr/cmdr/v2 => ../../ +// replace github.com/hedzr/cmdr/v2 => ../../ -replace github.com/hedzr/cmdr/v2/loaders => ../../loaders +// replace github.com/hedzr/cmdr/v2/loaders => ../../loaders require ( - github.com/hedzr/cmdr/v2 v2.0.0-00010101000000-000000000000 - github.com/hedzr/cmdr/v2/loaders v0.0.0-00010101000000-000000000000 - github.com/hedzr/logg v0.5.13 - github.com/hedzr/store v1.0.0 + github.com/hedzr/logg v0.5.18 + github.com/hedzr/store v1.0.5 ) require ( github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hedzr/evendeep v1.1.6 // indirect - github.com/hedzr/is v0.5.17 // indirect - github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792 // indirect - github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792 // indirect + github.com/hedzr/evendeep v1.1.8 // indirect + github.com/hedzr/is v0.5.18 // indirect + github.com/hedzr/store/codecs/hcl v1.0.3 // indirect + github.com/hedzr/store/codecs/hjson v1.0.3 // indirect + github.com/hedzr/store/codecs/json v1.0.3 // indirect + github.com/hedzr/store/codecs/nestext v1.0.3 // indirect + github.com/hedzr/store/codecs/toml v1.0.3 // indirect + github.com/hedzr/store/codecs/yaml v1.0.3 // indirect + github.com/hedzr/store/providers/env v1.0.3 // indirect + github.com/hedzr/store/providers/file v1.0.3 // indirect github.com/hjson/hjson-go/v4 v4.4.0 // indirect github.com/npillmayer/nestext v0.1.3 // indirect github.com/pelletier/go-toml/v2 v2.2.0 // indirect golang.org/x/crypto v0.21.0 // indirect - golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect + golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect golang.org/x/net v0.22.0 // indirect golang.org/x/sys v0.18.0 // indirect golang.org/x/term v0.18.0 // indirect - gopkg.in/hedzr/errors.v3 v3.3.1 // indirect + gopkg.in/hedzr/errors.v3 v3.3.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/examples/large/go.sum b/examples/large/go.sum index 636b82b..8057230 100644 --- a/examples/large/go.sum +++ b/examples/large/go.sum @@ -5,30 +5,30 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hedzr/evendeep v1.1.6 h1:q6HinHO1w28Az2CpukwQ7PwWaO32qmjVdqbfX7rDXeA= -github.com/hedzr/evendeep v1.1.6/go.mod h1:6RCGJvyVLK9bAf/0P1slhCxaWb3C6UFnlNf3uNMOWxE= -github.com/hedzr/is v0.5.17 h1:REHKfMjzLWL2o40QwfcuYaz6iTBalqluz7gVnRMf5Ls= -github.com/hedzr/is v0.5.17/go.mod h1:kRHlHbfm9K4IfgUTRqBY4u/mRgAHJGDlxECb8gUi5aM= -github.com/hedzr/logg v0.5.13 h1:igXPvEQVAFpmnIBqM/aCFJG1ujxN2wzrVl4wLJSn6Ww= -github.com/hedzr/logg v0.5.13/go.mod h1:vlmpC86lGIxYbMIwEZ/W7SCSMPjPkOCbiojnSXYj0Z4= -github.com/hedzr/store v1.0.0 h1:HZ6LJA6/M3ypsVlSixKfWbY7IOh2hJ6L95ZWj2McZKQ= -github.com/hedzr/store v1.0.0/go.mod h1:3tFSwPGzkDxAOVyHoBa8j9SPPMoN4b6c8b5IR01VCPM= -github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792 h1:SikIMIEYa7mpELo9Zq31sZyR9w8rtr5XbPq/Psg+0fg= -github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792/go.mod h1:i2rhPYDsZBMfEm0V/Ql5LnEBCbfARQCCT3rDwlVbKes= -github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792 h1:uGiED31y1s7TIuIeAFNyYbtmiYhlYBl0k8YqRAN03as= -github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792/go.mod h1:VaqHxwga9WV37StpMgEWpWF+BOHHMKKOwpdFgaMy8Gs= -github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792 h1:8q+mk+qIj1IWR739QpWFogJ56ULHlYx4CzarFRk0x7U= -github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792/go.mod h1:SoW3Cya3ImOhtz6VeswDFANFZrELuvfnV9MUQEXZA8g= -github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792 h1:8a9nfX0pCNeDz06LNGHUFu6er7bbl2H65Gxc6z5c94U= -github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792/go.mod h1:2+SW1RmKwQQgD/UxfAIkFV+PgSSPlTqmTX+slcSMv14= -github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792 h1:jC+NzT8wKPuubUOFJ2YmDJ2/uIVdZWhjIIgnOWyO4zA= -github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792/go.mod h1:3rwl/o/cg7c1j3hIvKeXSSl8kJfP0ilXqBm3N7Pq4ic= -github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792 h1:9CtH0vkq250sdK1/0EXDlPzo/MtYRWDLkUNRYq4xXkU= -github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792/go.mod h1:lbIMMZ2Wu4jaC1W1EGk1JB6gCFnAgDF1CiQzQsijQMA= -github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792 h1:YlHL+y6051b8vBluN67rMdMQXwGzeXJ3gY9KQYi8ytM= -github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792/go.mod h1:Z+6BXPD71IACuh+bTZKqRw0S3dg86y6yBl7I58W3q2c= -github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792 h1:gtq6ZXU1HmNqH69SJqCFj/mO8+YOTQ1QhoJg1wMmHRY= -github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792/go.mod h1:+Ss1wwdu99iIYT4PQn2L/S68FvhdBSKkM0HdtVSkLgw= +github.com/hedzr/evendeep v1.1.7 h1:AS7X3Gpzu6fKmKR+isNsgtMh672fw8hHUHeBOPHBcJU= +github.com/hedzr/evendeep v1.1.7/go.mod h1:jS/DucxL2KzGP4SuBP+FoaouiEPt3m9N74znRbFpSig= +github.com/hedzr/is v0.5.18 h1:FJWNNl5wYDvGstX5uzI4LR1wHttunlCAMHxNQRIXOOE= +github.com/hedzr/is v0.5.18/go.mod h1:kRHlHbfm9K4IfgUTRqBY4u/mRgAHJGDlxECb8gUi5aM= +github.com/hedzr/logg v0.5.18 h1:bf4Jv/TmhX9Vruod1QQYm7xvxMZGAtQEnAkEfdxOOYo= +github.com/hedzr/logg v0.5.18/go.mod h1:Q1hbRf8eA/KLYlk/CmW1fSGrEhFlKYUv8zGs8X6b/g8= +github.com/hedzr/store v1.0.3 h1:kXNwaYUr/mp/buuZSuZsZDlZCjUvtds8KpKIRBwWah8= +github.com/hedzr/store v1.0.3/go.mod h1:8d77D72cr5fwUidMuNQLvo47Ci1hT5uGFBPUGXK1yfQ= +github.com/hedzr/store/codecs/hcl v1.0.3 h1:8FmKdkM/Yi0fS5wkJzCFeFPN/ePLwoRpGA7lVxJjKGw= +github.com/hedzr/store/codecs/hcl v1.0.3/go.mod h1:Eh0zRZNkbt0PQMXOqaKT1AGMHhr2bif9FFt+6V9SM60= +github.com/hedzr/store/codecs/hjson v1.0.3 h1:m28JBW6ZJ+Upri0JYnuObfm4dWpJEaFmh9UPIMQ0Yvc= +github.com/hedzr/store/codecs/hjson v1.0.3/go.mod h1:sOOQo1GgPu0QA4AK9Q4P/18PwWOLGIbA3isfLqc+9r8= +github.com/hedzr/store/codecs/json v1.0.3 h1:q9Zfbg/pLlA7QXcFrWycFelF4q/fouBfXMjoOyKUuvs= +github.com/hedzr/store/codecs/json v1.0.3/go.mod h1:cMSA0Hq5oTUmRc64qX3QYDrwluMLGBITMcYHiptrUbg= +github.com/hedzr/store/codecs/nestext v1.0.3 h1:JnjHkguK9Zp/mycwBzDJW+70+2aab/MuhNtmlbUlYFE= +github.com/hedzr/store/codecs/nestext v1.0.3/go.mod h1:hZmeNY7weh1L8e5ibKvXviPktDModRqvNC7NwKPEaKk= +github.com/hedzr/store/codecs/toml v1.0.3 h1:njo4NTu14hcVRCtUyu1F6JKJ4OIm3T1qYrZHQ25J4N0= +github.com/hedzr/store/codecs/toml v1.0.3/go.mod h1:dH5WsyMQViaMyDtC8Gwl786UqxZGgwMSil2ikiEtNc0= +github.com/hedzr/store/codecs/yaml v1.0.3 h1:9W7+Al7ihmvOZz7iW/WAGUHF9DHMUViWtQ8agfThOdw= +github.com/hedzr/store/codecs/yaml v1.0.3/go.mod h1:DS2AKuCF54UgDkqK/Ihls5N38jO9NWP0hyUQHGAbyaA= +github.com/hedzr/store/providers/env v1.0.3 h1:q7uHx9Fs+BhjXeVBQ2CpGVsnxuPe2nSTMg3l42zjiPQ= +github.com/hedzr/store/providers/env v1.0.3/go.mod h1:KHaRpAnAKfs0CkZ/bYjlBGeyNS7fqlwPXp964scbdus= +github.com/hedzr/store/providers/file v1.0.3 h1:hyUq4Cf/IsH5p9TMvKA4gFX44D8972ED1DrAxSWt/MY= +github.com/hedzr/store/providers/file v1.0.3/go.mod h1:MMHs/obHnD3Q20xfwjlQdpW5JGs4Pqx/M+KPCIGgWAI= github.com/hjson/hjson-go/v4 v4.4.0 h1:D/NPvqOCH6/eisTb5/ztuIS8GUvmpHaLOcNk1Bjr298= github.com/hjson/hjson-go/v4 v4.4.0/go.mod h1:KaYt3bTw3zhBjYqnXkYywcYctk0A2nxeEFTse3rH13E= github.com/npillmayer/nestext v0.1.3 h1:2dkbzJ5xMcyJW5b8wwrX+nnRNvf/Nn1KwGhIauGyE2E= @@ -48,8 +48,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= -golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc= -golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= +golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88pSyOt+UgdZw2BFZ+lEw= +golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= diff --git a/tests/go.mod b/tests/go.mod index 4d10161..8f71d6d 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -38,38 +38,36 @@ go 1.21 // replace github.com/hedzr/store/providers/file => ../../libs.store/providers/file -replace github.com/hedzr/cmdr/v2 => ../ +// replace github.com/hedzr/cmdr/v2 => ../ -replace github.com/hedzr/cmdr/v2/loaders => ../loaders +// replace github.com/hedzr/cmdr/v2/loaders => ../loaders require ( - github.com/hedzr/cmdr/v2 v2.0.0-20240323233435-6388a0bbbe21 - github.com/hedzr/cmdr/v2/loaders v0.0.0-00010101000000-000000000000 - github.com/hedzr/store v1.0.0 + github.com/hedzr/store v1.0.5 ) require ( github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hedzr/evendeep v1.1.6 // indirect - github.com/hedzr/is v0.5.17 // indirect - github.com/hedzr/logg v0.5.13 // indirect - github.com/hedzr/store/codecs/hcl v1.0.0 // indirect - github.com/hedzr/store/codecs/hjson v1.0.0 // indirect - github.com/hedzr/store/codecs/json v1.0.0 // indirect - github.com/hedzr/store/codecs/nestext v1.0.0 // indirect - github.com/hedzr/store/codecs/toml v1.0.0 // indirect - github.com/hedzr/store/codecs/yaml v1.0.0 // indirect - github.com/hedzr/store/providers/env v1.0.0 // indirect - github.com/hedzr/store/providers/file v1.0.0 // indirect + github.com/hedzr/evendeep v1.1.8 // indirect + github.com/hedzr/is v0.5.18 // indirect + github.com/hedzr/logg v0.5.18 // indirect + github.com/hedzr/store/codecs/hcl v1.0.3 // indirect + github.com/hedzr/store/codecs/hjson v1.0.3 // indirect + github.com/hedzr/store/codecs/json v1.0.3 // indirect + github.com/hedzr/store/codecs/nestext v1.0.3 // indirect + github.com/hedzr/store/codecs/toml v1.0.3 // indirect + github.com/hedzr/store/codecs/yaml v1.0.3 // indirect + github.com/hedzr/store/providers/env v1.0.3 // indirect + github.com/hedzr/store/providers/file v1.0.3 // indirect github.com/hjson/hjson-go/v4 v4.4.0 // indirect github.com/npillmayer/nestext v0.1.3 // indirect github.com/pelletier/go-toml/v2 v2.2.0 // indirect golang.org/x/crypto v0.21.0 // indirect - golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 // indirect + golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 // indirect golang.org/x/net v0.22.0 // indirect golang.org/x/sys v0.18.0 // indirect golang.org/x/term v0.18.0 // indirect - gopkg.in/hedzr/errors.v3 v3.3.1 // indirect + gopkg.in/hedzr/errors.v3 v3.3.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/tests/go.sum b/tests/go.sum index c0fa75b..8057230 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -5,46 +5,30 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hedzr/evendeep v1.1.6 h1:q6HinHO1w28Az2CpukwQ7PwWaO32qmjVdqbfX7rDXeA= -github.com/hedzr/evendeep v1.1.6/go.mod h1:6RCGJvyVLK9bAf/0P1slhCxaWb3C6UFnlNf3uNMOWxE= -github.com/hedzr/is v0.5.17 h1:REHKfMjzLWL2o40QwfcuYaz6iTBalqluz7gVnRMf5Ls= -github.com/hedzr/is v0.5.17/go.mod h1:kRHlHbfm9K4IfgUTRqBY4u/mRgAHJGDlxECb8gUi5aM= -github.com/hedzr/logg v0.5.13 h1:igXPvEQVAFpmnIBqM/aCFJG1ujxN2wzrVl4wLJSn6Ww= -github.com/hedzr/logg v0.5.13/go.mod h1:vlmpC86lGIxYbMIwEZ/W7SCSMPjPkOCbiojnSXYj0Z4= -github.com/hedzr/store v1.0.0 h1:HZ6LJA6/M3ypsVlSixKfWbY7IOh2hJ6L95ZWj2McZKQ= -github.com/hedzr/store v1.0.0/go.mod h1:3tFSwPGzkDxAOVyHoBa8j9SPPMoN4b6c8b5IR01VCPM= -github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792 h1:SikIMIEYa7mpELo9Zq31sZyR9w8rtr5XbPq/Psg+0fg= -github.com/hedzr/store/codecs/hcl v0.0.0-20240323130419-8791d185f792/go.mod h1:i2rhPYDsZBMfEm0V/Ql5LnEBCbfARQCCT3rDwlVbKes= -github.com/hedzr/store/codecs/hcl v1.0.0 h1:tHL0XqVmUh84pfoidnbrn4IqmJXfeDvoB9s3IuCEH1A= -github.com/hedzr/store/codecs/hcl v1.0.0/go.mod h1:hG5yAu1WOzfCwzTBjUryz8mY6SK0Uxd5N6D0ldV38Kw= -github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792 h1:uGiED31y1s7TIuIeAFNyYbtmiYhlYBl0k8YqRAN03as= -github.com/hedzr/store/codecs/hjson v0.0.0-20240323130419-8791d185f792/go.mod h1:VaqHxwga9WV37StpMgEWpWF+BOHHMKKOwpdFgaMy8Gs= -github.com/hedzr/store/codecs/hjson v1.0.0 h1:YW66aOpW0y6KMc03TaQj0DBYMIutZU+/9ax4mw7rkJk= -github.com/hedzr/store/codecs/hjson v1.0.0/go.mod h1:XhMvRVvaH5b1zFqKWjiz9UtQZtYDT96f3qNLIbGTjRA= -github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792 h1:8q+mk+qIj1IWR739QpWFogJ56ULHlYx4CzarFRk0x7U= -github.com/hedzr/store/codecs/json v0.0.0-20240323130419-8791d185f792/go.mod h1:SoW3Cya3ImOhtz6VeswDFANFZrELuvfnV9MUQEXZA8g= -github.com/hedzr/store/codecs/json v1.0.0 h1:Xj+S5Nn+DvJxaFhrhQphN0KQNgnda4XelJylVetcY24= -github.com/hedzr/store/codecs/json v1.0.0/go.mod h1:80HC9JrfC8qP3WGr+FW43gLDZIBIeSR/feH08dWeybY= -github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792 h1:8a9nfX0pCNeDz06LNGHUFu6er7bbl2H65Gxc6z5c94U= -github.com/hedzr/store/codecs/nestext v0.0.0-20240323130419-8791d185f792/go.mod h1:2+SW1RmKwQQgD/UxfAIkFV+PgSSPlTqmTX+slcSMv14= -github.com/hedzr/store/codecs/nestext v1.0.0 h1:Ar8V7P0BI60qEA0pEL3YKizp5Kw1y2JgxZK9zN5lW4E= -github.com/hedzr/store/codecs/nestext v1.0.0/go.mod h1:hZR5RBbkU3u+vRqDcLYarTnDDAOLuGodPs0LiVKr3b4= -github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792 h1:jC+NzT8wKPuubUOFJ2YmDJ2/uIVdZWhjIIgnOWyO4zA= -github.com/hedzr/store/codecs/toml v0.0.0-20240323130419-8791d185f792/go.mod h1:3rwl/o/cg7c1j3hIvKeXSSl8kJfP0ilXqBm3N7Pq4ic= -github.com/hedzr/store/codecs/toml v1.0.0 h1:HydfeydCVaFW8tZc22xGkzft9oFqskifV0aPkNaAtGA= -github.com/hedzr/store/codecs/toml v1.0.0/go.mod h1:WwhisFK/0BWu0XPPmS+6Ocyla7jqb/KWCRxCUNt/n38= -github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792 h1:9CtH0vkq250sdK1/0EXDlPzo/MtYRWDLkUNRYq4xXkU= -github.com/hedzr/store/codecs/yaml v0.0.0-20240323130419-8791d185f792/go.mod h1:lbIMMZ2Wu4jaC1W1EGk1JB6gCFnAgDF1CiQzQsijQMA= -github.com/hedzr/store/codecs/yaml v1.0.0 h1:o0HyHS+3TiPfnIrDOuqVG1zV3HIsEHLcTSCyuX+kJJ0= -github.com/hedzr/store/codecs/yaml v1.0.0/go.mod h1:cKRWUt6roLkR4lGcp1EK72sRbhk6IVZ8S7WBrMn0ulI= -github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792 h1:YlHL+y6051b8vBluN67rMdMQXwGzeXJ3gY9KQYi8ytM= -github.com/hedzr/store/providers/env v0.0.0-20240323130419-8791d185f792/go.mod h1:Z+6BXPD71IACuh+bTZKqRw0S3dg86y6yBl7I58W3q2c= -github.com/hedzr/store/providers/env v1.0.0 h1:nbjxUA1NV8rb/jv6IeQXm05nGlQ6US1iROVkKfsAjlQ= -github.com/hedzr/store/providers/env v1.0.0/go.mod h1:yZ5meFNfGdnqaXi/HjS7WGbNA2dma0eaXLS4Z73fSrY= -github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792 h1:gtq6ZXU1HmNqH69SJqCFj/mO8+YOTQ1QhoJg1wMmHRY= -github.com/hedzr/store/providers/file v0.0.0-20240323130419-8791d185f792/go.mod h1:+Ss1wwdu99iIYT4PQn2L/S68FvhdBSKkM0HdtVSkLgw= -github.com/hedzr/store/providers/file v1.0.0 h1:eFm8hXUOL/61XkyoNHMp2DKB5GOmS5EFmYU9+1nmdaw= -github.com/hedzr/store/providers/file v1.0.0/go.mod h1:PO4/1R8Xtw1xQVAEzGF2xyYEjATDTdZgOfAFv9KEayA= +github.com/hedzr/evendeep v1.1.7 h1:AS7X3Gpzu6fKmKR+isNsgtMh672fw8hHUHeBOPHBcJU= +github.com/hedzr/evendeep v1.1.7/go.mod h1:jS/DucxL2KzGP4SuBP+FoaouiEPt3m9N74znRbFpSig= +github.com/hedzr/is v0.5.18 h1:FJWNNl5wYDvGstX5uzI4LR1wHttunlCAMHxNQRIXOOE= +github.com/hedzr/is v0.5.18/go.mod h1:kRHlHbfm9K4IfgUTRqBY4u/mRgAHJGDlxECb8gUi5aM= +github.com/hedzr/logg v0.5.18 h1:bf4Jv/TmhX9Vruod1QQYm7xvxMZGAtQEnAkEfdxOOYo= +github.com/hedzr/logg v0.5.18/go.mod h1:Q1hbRf8eA/KLYlk/CmW1fSGrEhFlKYUv8zGs8X6b/g8= +github.com/hedzr/store v1.0.3 h1:kXNwaYUr/mp/buuZSuZsZDlZCjUvtds8KpKIRBwWah8= +github.com/hedzr/store v1.0.3/go.mod h1:8d77D72cr5fwUidMuNQLvo47Ci1hT5uGFBPUGXK1yfQ= +github.com/hedzr/store/codecs/hcl v1.0.3 h1:8FmKdkM/Yi0fS5wkJzCFeFPN/ePLwoRpGA7lVxJjKGw= +github.com/hedzr/store/codecs/hcl v1.0.3/go.mod h1:Eh0zRZNkbt0PQMXOqaKT1AGMHhr2bif9FFt+6V9SM60= +github.com/hedzr/store/codecs/hjson v1.0.3 h1:m28JBW6ZJ+Upri0JYnuObfm4dWpJEaFmh9UPIMQ0Yvc= +github.com/hedzr/store/codecs/hjson v1.0.3/go.mod h1:sOOQo1GgPu0QA4AK9Q4P/18PwWOLGIbA3isfLqc+9r8= +github.com/hedzr/store/codecs/json v1.0.3 h1:q9Zfbg/pLlA7QXcFrWycFelF4q/fouBfXMjoOyKUuvs= +github.com/hedzr/store/codecs/json v1.0.3/go.mod h1:cMSA0Hq5oTUmRc64qX3QYDrwluMLGBITMcYHiptrUbg= +github.com/hedzr/store/codecs/nestext v1.0.3 h1:JnjHkguK9Zp/mycwBzDJW+70+2aab/MuhNtmlbUlYFE= +github.com/hedzr/store/codecs/nestext v1.0.3/go.mod h1:hZmeNY7weh1L8e5ibKvXviPktDModRqvNC7NwKPEaKk= +github.com/hedzr/store/codecs/toml v1.0.3 h1:njo4NTu14hcVRCtUyu1F6JKJ4OIm3T1qYrZHQ25J4N0= +github.com/hedzr/store/codecs/toml v1.0.3/go.mod h1:dH5WsyMQViaMyDtC8Gwl786UqxZGgwMSil2ikiEtNc0= +github.com/hedzr/store/codecs/yaml v1.0.3 h1:9W7+Al7ihmvOZz7iW/WAGUHF9DHMUViWtQ8agfThOdw= +github.com/hedzr/store/codecs/yaml v1.0.3/go.mod h1:DS2AKuCF54UgDkqK/Ihls5N38jO9NWP0hyUQHGAbyaA= +github.com/hedzr/store/providers/env v1.0.3 h1:q7uHx9Fs+BhjXeVBQ2CpGVsnxuPe2nSTMg3l42zjiPQ= +github.com/hedzr/store/providers/env v1.0.3/go.mod h1:KHaRpAnAKfs0CkZ/bYjlBGeyNS7fqlwPXp964scbdus= +github.com/hedzr/store/providers/file v1.0.3 h1:hyUq4Cf/IsH5p9TMvKA4gFX44D8972ED1DrAxSWt/MY= +github.com/hedzr/store/providers/file v1.0.3/go.mod h1:MMHs/obHnD3Q20xfwjlQdpW5JGs4Pqx/M+KPCIGgWAI= github.com/hjson/hjson-go/v4 v4.4.0 h1:D/NPvqOCH6/eisTb5/ztuIS8GUvmpHaLOcNk1Bjr298= github.com/hjson/hjson-go/v4 v4.4.0/go.mod h1:KaYt3bTw3zhBjYqnXkYywcYctk0A2nxeEFTse3rH13E= github.com/npillmayer/nestext v0.1.3 h1:2dkbzJ5xMcyJW5b8wwrX+nnRNvf/Nn1KwGhIauGyE2E= @@ -64,8 +48,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= -golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 h1:6R2FC06FonbXQ8pK11/PDFY6N6LWlf9KlzibaCapmqc= -golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= +golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8 h1:aAcj0Da7eBAtrTp03QXWvm88pSyOt+UgdZw2BFZ+lEw= +golang.org/x/exp v0.0.0-20240325151524-a685a6edb6d8/go.mod h1:CQ1k9gNrJ50XIzaKCRR2hssIjF07kZFEiieALBM/ARQ= golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc= golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=