Fix typos

This commit is contained in:
JakobDev 2024-12-28 21:20:55 +01:00
parent 265174bd5e
commit b7d7431d05
No known key found for this signature in database
GPG key ID: 39DEF62C3ED6DC4C
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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
}