func alruCmd(c *cli.Context) { lru, err := m.GetFirstPullRequest("open", "updated") if err != nil { gordon.Fatalf("Error getting pull requests: %s", err) } fmt.Printf("%v (#%d)\n", gordon.HumanDuration(time.Since(lru.UpdatedAt)), lru.Number) }
func alruCmd(c *cli.Context) { lru, err := m.GetFirstIssue("open", "updated") if err != nil { gordon.WriteError("Error getting issues: %s", err) } fmt.Printf("%v (#%d)\n", gordon.HumanDuration(time.Since(lru.UpdatedAt)), lru.Number) }