summaryrefslogtreecommitdiff
path: root/example/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 05:04:11 -0600
committerJeff Carr <[email protected]>2024-11-07 05:04:11 -0600
commit907981a92da0537617a4c9fe39093f23004f461c (patch)
tree5df2fcac84995b0027dceef658d652a3d74861d9 /example/main.go
parentb9766ce266286171f4688a32c679816bf824ae28 (diff)
rename Clusterv0.2.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'example/main.go')
-rw-r--r--example/main.go4
1 files changed, 2 insertions, 2 deletions
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)