Print Deviations after the table
parent
823e303636
commit
756919d533
|
@ -78,6 +78,11 @@ func (sl *SL) GetOutput() []string {
|
|||
|
||||
table.Render()
|
||||
|
||||
// Go through deviations and add it after the table
|
||||
for _, v := range sl.lastResponse.ResponseData.StopPointDeviations {
|
||||
b.WriteString(v.Deviation.Text + "\n")
|
||||
}
|
||||
|
||||
return strings.Split(b.String(), "\n")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue