diff --git a/go.mod b/go.mod index bdb188a..ac5a08d 100644 --- a/go.mod +++ b/go.mod @@ -55,33 +55,33 @@ go 1.22.7 // replace github.com/hedzr/store/providers/maps => ../libs.store/providers/maps require ( - github.com/hedzr/cmdr-loaders v1.2.5 - github.com/hedzr/cmdr/v2 v2.0.10 - github.com/hedzr/is v0.6.1 - github.com/hedzr/logg v0.7.5 - github.com/hedzr/store v1.1.3 + github.com/hedzr/cmdr-loaders v1.2.7 + github.com/hedzr/cmdr/v2 v2.0.13 + github.com/hedzr/is v0.6.3 + github.com/hedzr/logg v0.7.16 + github.com/hedzr/store v1.2.3 gopkg.in/hedzr/errors.v3 v3.3.5 ) require ( github.com/fsnotify/fsnotify v1.8.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hedzr/evendeep v1.2.5 // indirect - github.com/hedzr/store/codecs/hcl v1.1.3 // indirect - github.com/hedzr/store/codecs/hjson v1.1.3 // indirect - github.com/hedzr/store/codecs/json v1.1.3 // indirect - github.com/hedzr/store/codecs/nestext v1.1.3 // indirect - github.com/hedzr/store/codecs/toml v1.1.3 // indirect - github.com/hedzr/store/codecs/yaml v1.1.3 // indirect - github.com/hedzr/store/providers/env v1.1.3 // indirect - github.com/hedzr/store/providers/file v1.1.3 // indirect + github.com/hedzr/evendeep v1.2.8 // indirect + github.com/hedzr/store/codecs/hcl v1.2.3 // indirect + github.com/hedzr/store/codecs/hjson v1.2.3 // indirect + github.com/hedzr/store/codecs/json v1.2.3 // indirect + github.com/hedzr/store/codecs/nestext v1.2.3 // indirect + github.com/hedzr/store/codecs/toml v1.2.3 // indirect + github.com/hedzr/store/codecs/yaml v1.2.3 // indirect + github.com/hedzr/store/providers/env v1.2.3 // indirect + github.com/hedzr/store/providers/file v1.2.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.3 // indirect - golang.org/x/crypto v0.29.0 // indirect - golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect - golang.org/x/net v0.31.0 // indirect - golang.org/x/sys v0.27.0 // indirect - golang.org/x/term v0.26.0 // indirect + golang.org/x/crypto v0.31.0 // indirect + golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect + golang.org/x/net v0.33.0 // indirect + golang.org/x/sys v0.28.0 // indirect + golang.org/x/term v0.27.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index beeb764..375557e 100644 --- a/go.sum +++ b/go.sum @@ -6,32 +6,84 @@ 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/cmdr-loaders v1.2.5 h1:4qTlq9jQwZXRe7I3DzCoy22aRigoFxIJQWuQ1EpBdW4= github.com/hedzr/cmdr-loaders v1.2.5/go.mod h1:zwdoXZ4YJ79nFkOnf7B/YwjnrS7JzGCnlGej+SCTNeI= +github.com/hedzr/cmdr-loaders v1.2.6 h1:sGXYpt5u6A+zhEOY7XTyjUYnOHWSZefz61A6iDb9p0w= +github.com/hedzr/cmdr-loaders v1.2.6/go.mod h1:WqnTGHtBg91gK/Iq8jdhcP7WlLSkKMxd+hDzoxn8Taw= +github.com/hedzr/cmdr-loaders v1.2.7 h1:CM9Sz2ZlfPJMqL9CE0EOu1I/8EMMK7JT7lj3+Fd3dLc= +github.com/hedzr/cmdr-loaders v1.2.7/go.mod h1:UBpkjXblb4WEPu/hPbWUNuYmavDZcKqIx9NVEoDHLbs= github.com/hedzr/cmdr/v2 v2.0.10 h1:D5ifIN2jLqYpsRCKQy2EuyXRlLwJz42yzlhQc5quPFY= github.com/hedzr/cmdr/v2 v2.0.10/go.mod h1:gA9OxsJ4LGvPr+VVAoo918nQttFjdJWuhhA4TMqzXsg= +github.com/hedzr/cmdr/v2 v2.0.11 h1:96Vs4lh1kW4v5CeNuuEZt7w2I71HVSCnbPF5kSl4XaQ= +github.com/hedzr/cmdr/v2 v2.0.11/go.mod h1:zTWJjJ1bBHG6Zm9+WECa7niYWlmN1wde9p/bA80Fku4= +github.com/hedzr/cmdr/v2 v2.0.13 h1:b/7ilnR0QK/HFuggnAXMuXM/BvjG7ehwdxU3Se1uI9A= +github.com/hedzr/cmdr/v2 v2.0.13/go.mod h1:6a0s67RGJ8RJRkTKJKz/wl7eRtOBzWJ22viFdOaPCQQ= github.com/hedzr/evendeep v1.2.5 h1:4yBSNEbQ7MVd9QsiQfpnNwshmtEEh2oHFl6/COAiU+I= github.com/hedzr/evendeep v1.2.5/go.mod h1:2ixR0oQr13BInyBHNrSFlSpekamLCoT9n3uqLgwSngo= +github.com/hedzr/evendeep v1.2.7 h1:/TJWwPfTbSsDgaPLl/3nXkCJB1G8Nh0W909Y9BmdA/o= +github.com/hedzr/evendeep v1.2.7/go.mod h1:xuD5lh4Uj+s7trrxxeLu8y+5iKiapJDGFy6UDafSDT8= +github.com/hedzr/evendeep v1.2.8 h1:bnHz5RpLNg9n/amgSgxLVoDL/L3EkT8VoGns78iAxnM= +github.com/hedzr/evendeep v1.2.8/go.mod h1:PNi4BM4J2meB1anHehoLjfL6p0vZDov2YnkRskUBSFw= github.com/hedzr/is v0.6.1 h1:XLYf/zZKU3wTpvwaEnDFPIG3hFv3CW5C+biP4WUyFIY= github.com/hedzr/is v0.6.1/go.mod h1:xBfXsyXVnxBpq8dYy2zKjex/ErTCpaFVB+j8JDvGTYY= +github.com/hedzr/is v0.6.3 h1:j4FxXrLXyZbuc4z/kG+PYknsYmHZHVDwgU0oQGZC4Yc= +github.com/hedzr/is v0.6.3/go.mod h1:jjg5PmJET+z1HJwYOdnJqUWUBpbdIX3dAkafTLhOQqA= github.com/hedzr/logg v0.7.5 h1:8lo0K86RxPCdJZ0dfOErW1wlYtFT96a7H1QTfV0I/nE= github.com/hedzr/logg v0.7.5/go.mod h1:PIrj0vsRWedjCX9AH9n7NkSJX0v1AcpyhZuIyaLIDhU= +github.com/hedzr/logg v0.7.16 h1:sPtLRpBmhN8dBH9CieqnqdhwBrxJlmdgqCWnj/iwZ08= +github.com/hedzr/logg v0.7.16/go.mod h1:+e7+UaN3Z15jpNXl9/9IgtdCl0/up+Fo3GpJPgIqG68= github.com/hedzr/store v1.1.3 h1:yK30rnr01oJzsZ/Cm1k6N60+PCbC8L00zIDElK1SktY= github.com/hedzr/store v1.1.3/go.mod h1:dEmOeNlw7r1zV5NdVkM1ou2W8KLNvdE9fZQAQXn7ifA= +github.com/hedzr/store v1.2.2 h1:ZQG305h3JLgPE5+DTKI2CYc4SgOlZlA3+a/93iwtShQ= +github.com/hedzr/store v1.2.2/go.mod h1:MVBzfCDrQCYwMRVS/4FzINGKedqMiizAXby5StoWRJQ= +github.com/hedzr/store v1.2.3 h1:1SMH5KkTFY8/8N3a1dIm49yHxS5TVng2jP4FRVHvsEo= +github.com/hedzr/store v1.2.3/go.mod h1:umjcUgPRSDs2wWOFLs9icjv+RlbpIayLOA+yB5IWXfw= github.com/hedzr/store/codecs/hcl v1.1.3 h1:Zm9s77wjMt3pCPITr0prQrfJTCwXoL5O1yA2oLexlb4= github.com/hedzr/store/codecs/hcl v1.1.3/go.mod h1:NLC4ocDJJvEzLXSxeZrS0daQVxpG838FnUH/Y66qLRM= +github.com/hedzr/store/codecs/hcl v1.2.2 h1:aMfqtPxiz81dBIg04Zh4gh7UCJHnmhcQ2eG5n+zoB3M= +github.com/hedzr/store/codecs/hcl v1.2.2/go.mod h1:QbscsRu9ielqMh/X41FjJJEaX6gGBbVbgC1HsWq2CsY= +github.com/hedzr/store/codecs/hcl v1.2.3 h1:sUfW0bYbE6fIUa6PkUwkvSKT3Q5s3sn8r56g3BuWpGs= +github.com/hedzr/store/codecs/hcl v1.2.3/go.mod h1:7wEn97R9IG6nEOcaiOtLbIQCPh1NZ7nzbdaEDUYTqnk= github.com/hedzr/store/codecs/hjson v1.1.3 h1:if1bhrkHHpa6SAlnaYICL1XPnYGVrdLtR2lnTl4TUXA= github.com/hedzr/store/codecs/hjson v1.1.3/go.mod h1:eM2LQMg2YDmkLqYxkR8RZ/fW9Bf3VznKEZMzp/YHlZM= +github.com/hedzr/store/codecs/hjson v1.2.2 h1:cr4DwX0ooMCdmS/FNvWxj+gPL36scSObFzgahaLedAM= +github.com/hedzr/store/codecs/hjson v1.2.2/go.mod h1:YbshxksdURsBaCC3sTpB/YpaUxfkj0Y8ooZIj2RR4rI= +github.com/hedzr/store/codecs/hjson v1.2.3 h1:CZdlXzFE8ea+sfdn7ymv/O+zajhT0KUvB1R5r9cjb28= +github.com/hedzr/store/codecs/hjson v1.2.3/go.mod h1:XY/kCa0flLngPapuNrEtu5ZwxPqrmWGROUSHz3Pxl9Q= github.com/hedzr/store/codecs/json v1.1.3 h1:hlBoGNhKaRDK1dTrnZOR91+oFojJmKmeTbPcLC7IbAI= github.com/hedzr/store/codecs/json v1.1.3/go.mod h1:jhNZobakDZo1fZcBqbMugHBelbiIbnoo+K7jYeti7Do= +github.com/hedzr/store/codecs/json v1.2.2 h1:2I3B9d5r+Ry5NfDgNukXjNpiv4ZJUE0BNBY8xf0MzsY= +github.com/hedzr/store/codecs/json v1.2.2/go.mod h1:G3Ekh03ckSPz7B7q6IzH0iP89wMsP3HZO6+Ujc9+zGg= +github.com/hedzr/store/codecs/json v1.2.3 h1:xuhctnD0eP/5vlGqth5UUDuamlWq7ufL20uu0uZG9nQ= +github.com/hedzr/store/codecs/json v1.2.3/go.mod h1:oCNLx03ZlofVI0oivNNGW1HQwVfIbkV2phstSAQb4qk= github.com/hedzr/store/codecs/nestext v1.1.3 h1:HG6JNXOUI1m4RYzUM1Vz5Pui4RinjQwE6hsoA1tcVb8= github.com/hedzr/store/codecs/nestext v1.1.3/go.mod h1:NuPFFmiIPOlMDm+cx1/NWmWtq6xVA8cyrWzVPB344pw= +github.com/hedzr/store/codecs/nestext v1.2.2 h1:GAKPlKLcNZn2TyQSgp8yrvfPE3kbLfupG2UHz50eRAE= +github.com/hedzr/store/codecs/nestext v1.2.2/go.mod h1:Z/PPLs7RrvleXy+Ya4uM9NY4Wyalj8YiLf7zd+60yqE= +github.com/hedzr/store/codecs/nestext v1.2.3 h1:N19OS7C0wtCOgqN+O9Z90/nRdJEnwkUvutmF9ZhxLZ0= +github.com/hedzr/store/codecs/nestext v1.2.3/go.mod h1:vi/ntsnxYCe5Cn+zPYWuRqfWW/fWDmcEsNEO3RtESmE= github.com/hedzr/store/codecs/toml v1.1.3 h1:Cx/eht3mn8Tr2TnOkLYp2/AS4BXrMlhrBgLHjzi3WYs= github.com/hedzr/store/codecs/toml v1.1.3/go.mod h1:KMH5e8kwk46O7OVgoaUIZxtYXpTODtgsPNQstKHagDA= +github.com/hedzr/store/codecs/toml v1.2.2 h1:ERLGWn6r0ro0pAMan2w/uIKULWifZA1kAGdzAueHyRE= +github.com/hedzr/store/codecs/toml v1.2.2/go.mod h1:UObBvS3K0TK3xTwG7ymflV/TQPsbGNBna4J+mgx36y0= +github.com/hedzr/store/codecs/toml v1.2.3 h1:pCpOF2KLK1UIabbY1ioAd11s4CRiHwoSgLIjF4eUGXk= +github.com/hedzr/store/codecs/toml v1.2.3/go.mod h1:RzB/KmqSJYC+ej3CAsMwjfIiHV7TrKsVmv31swUm0e8= github.com/hedzr/store/codecs/yaml v1.1.3 h1:U1bXRXMzXJ/EW8UnzKQgtikyEIh3lrMLVoRH6legQxo= github.com/hedzr/store/codecs/yaml v1.1.3/go.mod h1:sRsJO3AzGIX/mNcnOwUar/RmzRN3/tJStLS4OZGzkJQ= +github.com/hedzr/store/codecs/yaml v1.2.2 h1:BurJQlea4AC4w9wk1OBI34ZQKNHhxJbcDHYaaNeF1VE= +github.com/hedzr/store/codecs/yaml v1.2.2/go.mod h1:TU/Zjp6rc2K+fScOx5t0sR+iBv2bAU2j20wCoGPEi7g= +github.com/hedzr/store/codecs/yaml v1.2.3 h1:MYgD1rkxO2nJMNUGsd/cu8MLPd61JtNR8EXjiC4ZYkY= +github.com/hedzr/store/codecs/yaml v1.2.3/go.mod h1:3as99zG6BTKOALU7S+SnXU8Qu3qu1qZf876eMbFhapA= github.com/hedzr/store/providers/env v1.1.3 h1:m0JP6w3KWNJRGVxjPc1P25rejffQokjH/Arv6QITZgQ= github.com/hedzr/store/providers/env v1.1.3/go.mod h1:VQP8olY/JTRLqP3nr1BBh77wP6t3EVHTGzclLj6SxY4= +github.com/hedzr/store/providers/env v1.2.2 h1:FnFqxcAR0M0WjHDd8GTds+bKsscmVB/gvHDb9IOSvz0= +github.com/hedzr/store/providers/env v1.2.2/go.mod h1:KH0M774r2SmTC5tVvsOifAJkZG8ypSLkuwgvut2V75I= +github.com/hedzr/store/providers/env v1.2.3 h1:Im9R9GmUKbWDOUoy6A2UcVEf+W3V0eP2S74lkskL9y8= +github.com/hedzr/store/providers/env v1.2.3/go.mod h1:DabLpNE04/ORRWo6HNrFFgoaNN6cDB1m2Pv6Fg6X+UA= github.com/hedzr/store/providers/file v1.1.3 h1:SlBsD6v+O+Ra76mXBH1qBZ3A4aFx46HY13Rb59X/w5Q= github.com/hedzr/store/providers/file v1.1.3/go.mod h1:OzKwSa2NwAbSu7D6wGsclCBejzHJGBy15ZliDkjiZ4A= +github.com/hedzr/store/providers/file v1.2.2 h1:BTWEM0EHgKsYI3wNVGiJFLwNZw3fE18/MZ23NAkX4TI= +github.com/hedzr/store/providers/file v1.2.2/go.mod h1:tbY61BnGicShl8d3bmzPYgEjjJKKe/Yx5VULdquBKAk= +github.com/hedzr/store/providers/file v1.2.3 h1:yRx0uoXCvt6ue85viPWO3IJmR1a1dD8+6LlP0P8No60= +github.com/hedzr/store/providers/file v1.2.3/go.mod h1:Wku2uh4zTIXQxLGEH9VJ2+oRqJ8+bWpFOFD1xCOIw/s= 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= @@ -44,14 +96,28 @@ 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.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ= golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo= golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak= +golang.org/x/exp v0.0.0-20241210194714-1829a127f884 h1:Y/Mj/94zIQQGHVSv1tTtQBDaQaJe62U9bkDZKKyhPCU= +golang.org/x/exp v0.0.0-20241210194714-1829a127f884/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 h1:1UoZQm6f0P/ZO0w1Ri+f+ifG/gXhegadRdwBIXEFWDo= +golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= +golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= +golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU= golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E= +golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q= +golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= 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.3.5 h1:bF4ijq4PAjwjCB8s7nWf2cjqo/yp6afNuQMC2SnX7t8=