buildHeaderDisplay creates a HeaderDisplay from a timestamp
(timestamp time.Time)
| 901 | |
| 902 | // buildHeaderDisplay creates a HeaderDisplay from a timestamp |
| 903 | func buildHeaderDisplay(timestamp time.Time) HeaderDisplay { |
| 904 | return HeaderDisplay{ |
| 905 | Title: "VALIDATE VSA RESULT", |
| 906 | Timestamp: timestamp.Format(time.RFC3339), |
| 907 | } |
| 908 | } |
| 909 | |
| 910 | // String formats the header for display |
| 911 | func (h HeaderDisplay) String() string { |
no outgoing calls