From b7d7431d055864e6b30509e73e131cd323b13122 Mon Sep 17 00:00:00 2001 From: JakobDev Date: Sat, 28 Dec 2024 21:20:55 +0100 Subject: [PATCH] Fix typos --- models/repo/release.go | 2 +- modules/card/card.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/repo/release.go b/models/repo/release.go index cd6f322435..eb18f8aa02 100644 --- a/models/repo/release.go +++ b/models/repo/release.go @@ -140,7 +140,7 @@ func (r *Release) LoadArchiveDownloadCount(ctx context.Context) error { return err } -// GetTotalDownloadCount returns the summary of all dowlaod count of files attached to the release +// GetTotalDownloadCount returns the summary of all dowload count of files attached to the release func (r *Release) GetTotalDownloadCount(ctx context.Context) (int64, error) { var archiveCount int64 if !r.HideArchiveLinks { diff --git a/modules/card/card.go b/modules/card/card.go index dc3fa7e860..b7f31895c5 100644 --- a/modules/card/card.go +++ b/modules/card/card.go @@ -44,7 +44,7 @@ var fontCache = sync.OnceValues(func() (*truetype.Font, error) { return truetype.Parse(goregular.TTF) }) -// DefaultSize returns the default sie for a card +// DefaultSize returns the default size for a card func DefaultSize() (int, int) { return 1200, 600 }