--- Init ---
(t *testing.T)
| 16 | ) |
| 17 | |
| 18 | func currentJournalResult(v *journalView) requestResult { |
| 19 | return requestResult{requestID: v.requests.id} |
| 20 | } |
| 21 | |
| 22 | func journalEntries(count int) []journalSummary { |
| 23 | entries := make([]journalSummary, count) |
| 24 | for index := range count { |
| 25 | starts := time.Now().AddDate(0, 0, -index) |
| 26 | entries[index] = journalSummary{ |
| 27 | ID: int64(index + 1), |
| 28 | Date: starts.Format("2006-01-02"), |
| 29 | Starts: starts, |
| 30 | Preview: "Reflection from the day", |
nothing calls this directly
no test coverage detected