diff options
| author | Jeff Carr <[email protected]> | 2024-10-22 03:13:12 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-22 03:13:12 -0500 |
| commit | 9bc90046d9ded6bfc6e84e4ced9bf693ee6af6fb (patch) | |
| tree | 5917de5200447c15ba61520bbfe43742cc755700 /configfile/main.go | |
| parent | aa70a02dd8f0c5fc36938fa119ce219bbdf10cc7 (diff) | |
need to redo this example code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'configfile/main.go')
| -rw-r--r-- | configfile/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configfile/main.go b/configfile/main.go index bbd2c70..627649f 100644 --- a/configfile/main.go +++ b/configfile/main.go @@ -14,7 +14,7 @@ import pb "go.wit.com/lib/protobuf/virtbuf" // func main() { - TestWriteDroplet() + TestWriteCluster() in, err := ioutil.ReadFile("/tmp/testing4.protobuf") if err != nil { @@ -47,7 +47,7 @@ func marshalWriteToFile(myWriter *bufio.Writer, c *pb.Cluster) { log.Println("bufio.Write() tmp2, err = ", tmp2, err) } -func TestWriteDroplet() { +func TestWriteCluster() { buf := new(bytes.Buffer) c := pb.CreateSampleCluster(3) @@ -59,7 +59,7 @@ func TestWriteDroplet() { myWriter := bufio.NewWriter(newfile) marshalWriteToFile(myWriter, c) - marshalUnmarshal() + // marshalUnmarshal() } func marshalUnmarshal() { |
