style: gofmt cabana mail routes and postcard store test

This commit is contained in:
Jakub Zych
2026-11-18 18:42:59 +01:00
parent 66ec8de315
commit 830f305376
2 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ type AdminMailImagesMeta struct {
// AdminMailImagesResponse is the GET /mail/images answer (custom meta).
type AdminMailImagesResponse struct {
Data []AdminMailImage `json:"data"`
Data []AdminMailImage `json:"data"`
Meta AdminMailImagesMeta `json:"meta"`
}
@@ -706,8 +706,8 @@ func (s *service) mailTestAttempt(adminID uint) (allowed bool, retryAfter time.D
var mailTestLocal = newMailTestWindow()
type mailTestWindow struct {
mu sync.Mutex
by map[string]mailTestBucket
mu sync.Mutex
by map[string]mailTestBucket
}
type mailTestBucket struct {