Remove unneeded comments

This commit is contained in:
Miguel de la Cruz 2020-02-29 14:18:27 +01:00
parent 2360320cf6
commit 9ca9c4d988
2 changed files with 1 additions and 2 deletions

View file

@ -114,7 +114,6 @@ func addCmdF(cmd *cobra.Command, _ []string) {
ErrorAndExit(cmd, err)
}
// ToDo: make this skip duplicates
cmp.Tickets = append(cmp.Tickets, tickets...)
cmp.Tickets = model.RemoveDuplicateTickets(cmp.Tickets)

View file

@ -7,7 +7,7 @@ import (
type Ticket struct {
Filename string `json:"filename"`
LineNo int `json:"line_no"`
Text string `json:"text"` // needed??
Text string `json:"text"`
}
func RemoveDuplicateTickets(tickets []*Ticket) []*Ticket {