mirror of
https://github.com/tiennm99/ghstats.git
synced 2026-07-19 14:17:33 +00:00
This reverts commit 399a3dc. Repo stays as tiennm99/ghstats; the
Marketplace display name ("ghstats-cards" in action.yml) is the only
place the new name remains, since that field requires uniqueness on
the Marketplace.
plans/reports/* were added alongside the rename in the same commit
and are preserved by not deleting them in this revert.
15 lines
421 B
Go
15 lines
421 B
Go
package card
|
|
|
|
import (
|
|
"github.com/tiennm99/ghstats/internal/github"
|
|
"github.com/tiennm99/ghstats/internal/theme"
|
|
)
|
|
|
|
type mostCommitLanguageCard struct{}
|
|
|
|
func (mostCommitLanguageCard) Filename() string { return "most-commit-language.svg" }
|
|
|
|
func (mostCommitLanguageCard) SVG(p *github.Profile, t theme.Theme) ([]byte, error) {
|
|
return renderDonutCard("Most Commit Language (last year)", p.CommitsByLanguage, t), nil
|
|
}
|