diff options
Diffstat (limited to 'example/main.go')
| -rw-r--r-- | example/main.go | 4 |
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) |
