From 5755039810fdc74f308c94b811392f3cf18b4f0d Mon Sep 17 00:00:00 2001 From: Jeremy Loy Date: Thu, 11 Sep 2025 12:39:02 -0400 Subject: [PATCH 1/2] rename go module to allow go install to work the error message is as follows: GOBIN=bin go install github.com/openfga/model-visualizer/cmd@main go: github.com/openfga/model-visualizer/cmd@main: version constraints conflict: github.com/openfga/model-visualizer@v0.0.0-20250904214902-92619eb3d433: parsing go.mod: module declares its path as: weighted-graph-viz but was required as: github.com/openfga/model-visualizer --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index de0921b..c45d96f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module weighted-graph-viz +module model-visualizer go 1.24.2 From 232381292bfd1cbfecf6b84001f5625c6722a0f5 Mon Sep 17 00:00:00 2001 From: Jeremy Loy Date: Thu, 11 Sep 2025 12:41:33 -0400 Subject: [PATCH 2/2] fix import --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index c45d96f..bde6a63 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module model-visualizer +module github.com/openfga/model-visualizer go 1.24.2