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() diff --git a/human.go b/human.go index 0ace136..7b0f42e 100644 --- a/human.go +++ b/human.go @@ -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)