diff options
| author | Jeff Carr <[email protected]> | 2024-11-01 04:03:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-01 04:03:19 -0500 |
| commit | 6337988092218a0080fa164aab4469334979b1b5 (patch) | |
| tree | b81c8e178034b5b206b767ba4ec1eccd9644d0e2 | |
| parent | 20e958559e0a563f8b7c7b4bf4c4a95e328b1f37 (diff) | |
cleanup old example
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | example/main.go | 7 | ||||
| -rw-r--r-- | human.go | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/example/main.go b/example/main.go index 4554af3..bf6d4ef 100644 --- a/example/main.go +++ b/example/main.go @@ -2,8 +2,6 @@ package main import ( "fmt" - "io/ioutil" - "log" "os" pb "go.wit.com/lib/protobuf/virtbuf" @@ -16,11 +14,6 @@ import ( func main() { TestWriteCluster() - _, err := ioutil.ReadFile("/tmp/testing4.protobuf") - if err != nil { - log.Fatalln("Error reading file:", err) - } - var c *pb.NewCluster c = pb.InitCluster() @@ -105,7 +105,6 @@ func FormatDuration(d time.Duration) string { return result } - func (d *Droplet) SprintHeader() string { header := fmt.Sprintf("%-3.3s %-9.9s %-20.20s", d.Current.State, d.Current.Hypervisor, d.Hostname) |
