From 0552380418ec97106d12494dd400ff34bcf6ed4f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 04:48:19 -0600 Subject: [PATCH] go mod tidy was broken --- .forge | 1 + Makefile | 7 ++----- blobby/main.go | 12 ++++++------ 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.forge b/.forge index a6f0be6..0f6359f 100644 --- a/.forge +++ b/.forge @@ -1,3 +1,4 @@ +// `forge:ignore:gomod` // `forge:build:forgeConfig/ /usr/lib/wit-utils/` // `forge:build:go-clone-test/ /usr/lib/wit-utils/` // `forge:build:scanGoSrc/ /usr/lib/wit-utils/` diff --git a/Makefile b/Makefile index 205dc6e..3c8811c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,6 @@ all: - make -C forgeConfig - make -C virtbuf-example - make -C zoopb-example - make -C testGui - make -C going2git # actually builds against git2go using libgit2 v1.8.4 + @echo "# todo: fix Makefile to use the .forge file" clean: rm -f go.* + go-mod-clean --purge diff --git a/blobby/main.go b/blobby/main.go index fda762b..61785e2 100644 --- a/blobby/main.go +++ b/blobby/main.go @@ -1,5 +1,6 @@ package main +/* import ( "gocloud.dev/blob" // _ "gocloud.dev/blob/" @@ -37,12 +38,10 @@ func main() { // Alternatively, you can configure the prefix directly in the blob.OpenBucket URL: - /* - import ( - "context" - "gocloud.dev/blob" - ) - */ +// import ( +// "context" +// "gocloud.dev/blob" +// ) // Connect to a bucket using a URL, using the "prefix" query parameter to // target a subfolder in the bucket. @@ -56,3 +55,4 @@ func main() { // Bucket operations on will be translated to "a/subfolder/". } +*/