From 907981a92da0537617a4c9fe39093f23004f461c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Nov 2024 05:04:11 -0600 Subject: rename Cluster Signed-off-by: Jeff Carr --- example/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example') diff --git a/example/main.go b/example/main.go index bf6d4ef..34e170e 100644 --- a/example/main.go +++ b/example/main.go @@ -14,7 +14,7 @@ import ( func main() { TestWriteCluster() - var c *pb.NewCluster + var c *pb.Cluster c = pb.InitCluster() // log.Println(aCluster.String()) @@ -45,7 +45,7 @@ func main() { } /* -func marshalWriteToFile(myWriter *bufio.Writer, c *pb.NewCluster) { +func marshalWriteToFile(myWriter *bufio.Writer, c *pb.Cluster) { buf, err := proto.Marshal(c) if err != nil { log.Fatal("marshaling error: ", err) -- cgit v1.2.3