diff --git a/cmd/report.go b/cmd/report.go index c80a40c..55ed2b1 100644 --- a/cmd/report.go +++ b/cmd/report.go @@ -8,16 +8,16 @@ import ( func UsersReportCmd() *cobra.Command { return &cobra.Command{ - Use: "users", + Use: "users", Short: "A users report", - Args: cobra.NoArgs, - Run: withApp(userReportCmdF), + Args: cobra.NoArgs, + Run: withApp(userReportCmdF), } } func ReportCmd() *cobra.Command { cmd := &cobra.Command{ - Use: "report", + Use: "report", Short: "Generates reports on campaign information", } diff --git a/model/campaign.go b/model/campaign.go index 6c7b30e..8250449 100644 --- a/model/campaign.go +++ b/model/campaign.go @@ -3,10 +3,10 @@ package model import ( "bytes" "fmt" + "os" "strings" "text/tabwriter" "text/template" - "os" "github.com/fatih/color" ) diff --git a/model/campaign_reports.go b/model/campaign_reports.go index 96cedda..06d2722 100644 --- a/model/campaign_reports.go +++ b/model/campaign_reports.go @@ -16,7 +16,7 @@ func (c *Campaign) PrintUserReport() { user := ticket.GithubAssignee if user != "" { if count, ok := userTickets[user]; ok { - userTickets[user] = count+1 + userTickets[user] = count + 1 } else { userTickets[user] = 1 }