Add tests [TestListSenderNames] [TestListUserSenderNames]

This commit is contained in:
2024-09-20 16:33:45 +02:00
parent 5dd94eca38
commit 584a9e983f
7 changed files with 157 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
package models
type SenderNameStatistics struct {
SenderName string `json:"name" db:"name"`
LastTimestamp SCNTime `json:"last_timestamp" db:"ts_last"`
FirstTimestamp SCNTime `json:"first_timestamp" db:"ts_first"`
Count int `json:"count" db:"count"`
}