mirror of
https://github.com/tiennm99/ghstats.git
synced 2026-07-19 10:18:32 +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.
17 lines
458 B
Go
17 lines
458 B
Go
package card
|
|
|
|
import (
|
|
"github.com/tiennm99/ghstats/internal/github"
|
|
"github.com/tiennm99/ghstats/internal/theme"
|
|
)
|
|
|
|
type mostCommitLanguageAllTimeCard struct{}
|
|
|
|
func (mostCommitLanguageAllTimeCard) Filename() string {
|
|
return "most-commit-language-all-time.svg"
|
|
}
|
|
|
|
func (mostCommitLanguageAllTimeCard) SVG(p *github.Profile, t theme.Theme) ([]byte, error) {
|
|
return renderDonutCard("Most Commit Language (all time)", p.CommitsByLanguageAllTime, t), nil
|
|
}
|