Documentation
¶
Overview ¶
Package fixtures serves the real github.com pages saved under internal/official/testdata, for tests and for the README demo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Counts ¶
type Counts struct {
Authed bool
PRs counters.MergedPRs
Owned int
OwnedRepo string
RepoStar map[string]int
RepoErr map[string]error // RepoStars fails for these
FactsValue *counters.Facts
}
Counts is a counters.Source with fixed answers.
func TorvaldsDemo ¶
func TorvaldsDemo() *Counts
TorvaldsDemo is the README demo: @torvalds's real official pages, with counts fixed at the values the live CLI returned on the catalog's verification date.