From df247f5f9e6fe80bcf088c31ce1e452da8c9acd6 Mon Sep 17 00:00:00 2001 From: Thomas Jay Rush Date: Sat, 31 Aug 2024 20:56:08 -0400 Subject: [PATCH] Updates go.mods --- examples/.gitignore | 1 - examples/balanceChart/go.mod | 4 ++-- examples/balanceChart/go.sum | 8 ++++---- examples/cancelContext/go.mod | 4 ++-- examples/cancelContext/go.sum | 8 ++++---- examples/findFirst/go.mod | 4 ++-- examples/findFirst/go.sum | 8 ++++---- examples/nameManager/actions.go | 4 ++-- examples/nameManager/go.mod | 4 ++-- examples/nameManager/go.sum | 8 ++++---- examples/simple/go.mod | 4 ++-- examples/simple/go.sum | 8 ++++---- examples/withStreaming/go.mod | 4 ++-- examples/withStreaming/go.sum | 8 ++++---- examples/withStreaming/streamBlocks.go | 3 --- sdk/go.mod | 2 +- sdk/go.sum | 4 ++-- sdk/scrape.go | 1 + src/dev_tools/goMaker/go.mod | 2 +- src/dev_tools/goMaker/go.sum | 4 ++-- src/dev_tools/goMaker/main_test.go | 2 +- src/dev_tools/sdkFuzzer/go.mod | 4 ++-- src/dev_tools/sdkFuzzer/go.sum | 8 ++++---- src/dev_tools/testRunner/go.mod | 4 ++-- src/dev_tools/testRunner/go.sum | 8 ++++---- 25 files changed, 58 insertions(+), 61 deletions(-) delete mode 100644 examples/.gitignore diff --git a/examples/.gitignore b/examples/.gitignore deleted file mode 100644 index 6b77021d76..0000000000 --- a/examples/.gitignore +++ /dev/null @@ -1 +0,0 @@ -abiTesting diff --git a/examples/balanceChart/go.mod b/examples/balanceChart/go.mod index ff55bc4db3..18c8851f6b 100644 --- a/examples/balanceChart/go.mod +++ b/examples/balanceChart/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/examples/balanceChart go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced github.com/bykof/gostradamus v1.0.4 gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b ) diff --git a/examples/balanceChart/go.sum b/examples/balanceChart/go.sum index 3f271a7a01..88b7bab064 100644 --- a/examples/balanceChart/go.sum +++ b/examples/balanceChart/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/examples/cancelContext/go.mod b/examples/cancelContext/go.mod index 1b8aa3a2ea..5989a59810 100644 --- a/examples/cancelContext/go.mod +++ b/examples/cancelContext/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/examples/cancelContext go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced ) require ( diff --git a/examples/cancelContext/go.sum b/examples/cancelContext/go.sum index 22c1836373..88b20e1947 100644 --- a/examples/cancelContext/go.sum +++ b/examples/cancelContext/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/examples/findFirst/go.mod b/examples/findFirst/go.mod index 66a4109af4..9e40861148 100644 --- a/examples/findFirst/go.mod +++ b/examples/findFirst/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/examples/findFirst go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced ) require ( diff --git a/examples/findFirst/go.sum b/examples/findFirst/go.sum index 22c1836373..88b20e1947 100644 --- a/examples/findFirst/go.sum +++ b/examples/findFirst/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/examples/nameManager/actions.go b/examples/nameManager/actions.go index bc941b4247..bcf6fcfada 100644 --- a/examples/nameManager/actions.go +++ b/examples/nameManager/actions.go @@ -42,7 +42,7 @@ func undeleteName(args []string) { printError(err.Error()) } else { for _, name := range names { - fmt.Printf("Name deleted: %v\n", name.String()) + fmt.Printf("Name undeleted: %v\n", name.String()) } } } @@ -55,7 +55,7 @@ func removeNode(args []string) { printError(err.Error()) } else { for _, name := range names { - fmt.Printf("Name deleted: %v\n", name.String()) + fmt.Printf("Name removed: %v\n", name.String()) } } } diff --git a/examples/nameManager/go.mod b/examples/nameManager/go.mod index 7f981785b9..8ca1097708 100644 --- a/examples/nameManager/go.mod +++ b/examples/nameManager/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/examples/nameManager go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced ) require ( diff --git a/examples/nameManager/go.sum b/examples/nameManager/go.sum index 22c1836373..88b20e1947 100644 --- a/examples/nameManager/go.sum +++ b/examples/nameManager/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/examples/simple/go.mod b/examples/simple/go.mod index 0d56bd550e..cffa6967db 100644 --- a/examples/simple/go.mod +++ b/examples/simple/go.mod @@ -3,11 +3,11 @@ module github.com/TrueBlocks/trueblocks-core/examples/simple // Go Version go 1.22 -require github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 +require github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced require ( github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 // indirect + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced // indirect github.com/alecthomas/participle/v2 v2.0.0 // indirect github.com/benbjohnson/clock v1.3.0 // indirect github.com/bits-and-blooms/bitset v1.10.0 // indirect diff --git a/examples/simple/go.sum b/examples/simple/go.sum index 22c1836373..88b20e1947 100644 --- a/examples/simple/go.sum +++ b/examples/simple/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/examples/withStreaming/go.mod b/examples/withStreaming/go.mod index 80ca2cb95b..b3da1ee165 100644 --- a/examples/withStreaming/go.mod +++ b/examples/withStreaming/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/examples/withStreaming go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced github.com/schollz/progressbar/v3 v3.14.4 ) diff --git a/examples/withStreaming/go.sum b/examples/withStreaming/go.sum index b93277bdfd..9a85e9f49b 100644 --- a/examples/withStreaming/go.sum +++ b/examples/withStreaming/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/examples/withStreaming/streamBlocks.go b/examples/withStreaming/streamBlocks.go index 23dd0abb43..77a60c1dd0 100644 --- a/examples/withStreaming/streamBlocks.go +++ b/examples/withStreaming/streamBlocks.go @@ -26,9 +26,6 @@ func TestBlocks[T BlockType](mode ...string) { select { case model := <-opts.RenderCtx.ModelChan: if item, ok := model.(T); ok { - // if cnt != 0 { - // fmt.Println(",") - // } fmt.Printf("%s\n", item) // %d item: %s\r", cnt, item) cnt++ } else { diff --git a/sdk/go.mod b/sdk/go.mod index 7a10c804b3..31bb562803 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -3,7 +3,7 @@ module github.com/TrueBlocks/trueblocks-core/sdk/v3 // Go Version go 1.22 -require github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 +require github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced require ( github.com/Microsoft/go-winio v0.6.1 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index a0252836d3..8df0bcf5b9 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -40,8 +40,8 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/sdk/scrape.go b/sdk/scrape.go index 843e39ba58..e1e427f0c4 100644 --- a/sdk/scrape.go +++ b/sdk/scrape.go @@ -59,4 +59,5 @@ func (opts *ScrapeOptions) ScrapeDryRun() ([]types.Message, *types.MetaData, err func (opts *ScrapeOptions) ScrapeRunOnce() ([]types.Message, *types.MetaData, error) { return opts.ScrapeRunCount(1) } + // EXISTING_CODE diff --git a/src/dev_tools/goMaker/go.mod b/src/dev_tools/goMaker/go.mod index db3ff79103..33fe2eb334 100644 --- a/src/dev_tools/goMaker/go.mod +++ b/src/dev_tools/goMaker/go.mod @@ -4,7 +4,7 @@ module github.com/TrueBlocks/trueblocks-core/goMaker go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced github.com/gocarina/gocsv v0.0.0-20230123225133-763e25b40669 golang.org/x/text v0.16.0 ) diff --git a/src/dev_tools/goMaker/go.sum b/src/dev_tools/goMaker/go.sum index 38f9547d50..92a3590c8a 100644 --- a/src/dev_tools/goMaker/go.sum +++ b/src/dev_tools/goMaker/go.sum @@ -1,5 +1,5 @@ -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/btcsuite/btcd/btcec/v2 v2.2.0 h1:fzn1qaOt32TuLjFlkzYSsBC35Q3KUjT1SwPxiMSCF5k= diff --git a/src/dev_tools/goMaker/main_test.go b/src/dev_tools/goMaker/main_test.go index 7b727df9a7..830f36a2ee 100644 --- a/src/dev_tools/goMaker/main_test.go +++ b/src/dev_tools/goMaker/main_test.go @@ -6,6 +6,6 @@ import ( ) func TestMainFunction(t *testing.T) { - os.Chdir("/Users/jrush/Development/trueblocks-dalledress") + os.Chdir("/Users/jrush/Development/trueblocks-core") main() } diff --git a/src/dev_tools/sdkFuzzer/go.mod b/src/dev_tools/sdkFuzzer/go.mod index df91a128d3..e2df96996d 100644 --- a/src/dev_tools/sdkFuzzer/go.mod +++ b/src/dev_tools/sdkFuzzer/go.mod @@ -4,8 +4,8 @@ module github.com/TrueBlocks/trueblocks-core/sdkFuzzer go 1.22 require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced ) require ( diff --git a/src/dev_tools/sdkFuzzer/go.sum b/src/dev_tools/sdkFuzzer/go.sum index 22c1836373..88b20e1947 100644 --- a/src/dev_tools/sdkFuzzer/go.sum +++ b/src/dev_tools/sdkFuzzer/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o= diff --git a/src/dev_tools/testRunner/go.mod b/src/dev_tools/testRunner/go.mod index 13b5ee1ac7..1a400f6fb7 100644 --- a/src/dev_tools/testRunner/go.mod +++ b/src/dev_tools/testRunner/go.mod @@ -6,8 +6,8 @@ go 1.22 replace github.com/TrueBlocks/trueblocks-core/sdk => ../../../sdk require ( - github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 - github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 + github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced + github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced ) require ( diff --git a/src/dev_tools/testRunner/go.sum b/src/dev_tools/testRunner/go.sum index 22c1836373..88b20e1947 100644 --- a/src/dev_tools/testRunner/go.sum +++ b/src/dev_tools/testRunner/go.sum @@ -40,10 +40,10 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102 h1:t+6K87Cah9DcTkSRgmr3pUP9mXR2lvKIYQ9weXzqioI= -github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240828113739-542145d54102/go.mod h1:LhzUL7jeywSDDtvoaTG6s+OKPOlSuq9fwvJPXxnchXY= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102 h1:gg6F+xZ6DFCS6IDjx3HvLM44sDNIOP7qYWtmn9XnI4s= -github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240828113739-542145d54102/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced h1:DkwPLMNF6c9TnU8ppAMDCdGFsy0izWPSNaU6wP4h2Ok= +github.com/TrueBlocks/trueblocks-core/sdk/v3 v3.0.0-20240831030327-e4efe9a24ced/go.mod h1:IaaSx7uufRtiWTLnwNZxvDVuhEzP0NTpMjHvZ0ujyuU= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced h1:feVe71JiCzdTjo5IIE9WhlhNpRHe3ZsJOAMp/6aZOiQ= +github.com/TrueBlocks/trueblocks-core/src/apps/chifra v0.0.0-20240831030327-e4efe9a24ced/go.mod h1:YKuaek8RSyh681TFMK6Ua8MsHtuY+c1VJWi78Y35+J8= github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw= github.com/VictoriaMetrics/fastcache v1.12.1 h1:i0mICQuojGDL3KblA7wUNlY5lOK6a4bwt3uRKnkZU40= github.com/VictoriaMetrics/fastcache v1.12.1/go.mod h1:tX04vaqcNoQeGLD+ra5pU5sWkuxnzWhEzLwhP9w653o=