Adds the grep parsing and ticket creation

This commit is contained in:
Miguel de la Cruz 2020-02-29 13:00:40 +01:00
parent dfd8aeffa7
commit 18953f9372
3 changed files with 72 additions and 10 deletions

View file

@ -1,5 +1,6 @@
package model
type Campaign struct {
Epic string `json:"epic"`
Epic string `json:"epic"`
Tickets []*Ticket `json:"tickets"`
}

View file

@ -2,6 +2,6 @@ package model
type Ticket struct {
Filename string `json:"filename"`
Line int `json:"line"`
LineNo int `json:"line_no"`
Text string `json:"text"` // needed??
}