internal/

directory
v0.0.0-...-b60f55f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: GPL-3.0

Directories

Path Synopsis
Package app is the stats-gh control plane: it parses the requested subcommand and dispatches to the collector + renderer or to the diagnostics formatter.
Package app is the stats-gh control plane: it parses the requested subcommand and dispatches to the collector + renderer or to the diagnostics formatter.
Package collector aggregates GitHub-sourced repository data into the rendered StatsSummary and diagnostics report, applying repo-exclusion and recency-weighting rules along the way.
Package collector aggregates GitHub-sourced repository data into the rendered StatsSummary and diagnostics report, applying repo-exclusion and recency-weighting rules along the way.
Package config loads stats-gh runtime configuration from a TOML file and resolves GitHub credentials from environment-variable fallbacks.
Package config loads stats-gh runtime configuration from a TOML file and resolves GitHub credentials from environment-variable fallbacks.
Package githubapi wraps the GitHub REST and GraphQL APIs that stats-gh uses, including a rate-limit-aware HTTP transport and typed query helpers.
Package githubapi wraps the GitHub REST and GraphQL APIs that stats-gh uses, including a rate-limit-aware HTTP transport and typed query helpers.
Package logging is the stats-gh slog setup: it builds the structured logger, sets it as the process default, and exposes context-carrying helpers.
Package logging is the stats-gh slog setup: it builds the structured logger, sets it as the process default, and exposes context-carrying helpers.
Package model defines the data shapes shared across the GitHub fetch, aggregation, rendering, and diagnostics layers of stats-gh.
Package model defines the data shapes shared across the GitHub fetch, aggregation, rendering, and diagnostics layers of stats-gh.
Package output wraps stdout/stderr writes so call sites do not have to import os and fmt directly.
Package output wraps stdout/stderr writes so call sites do not have to import os and fmt directly.
Package profilecounter reads the profile-view badge that the profile README renders and turns its SVG value back into a numeric counter.
Package profilecounter reads the profile-view badge that the profile README renders and turns its SVG value back into a numeric counter.
Package readmecache rewrites profile README stats image URLs so GitHub refreshes cached raw SVG assets after generated images change.
Package readmecache rewrites profile README stats image URLs so GitHub refreshes cached raw SVG assets after generated images change.
Package render turns a collected StatsSummary into the overview, languages, and top_repos SVG files written under generated/.
Package render turns a collected StatsSummary into the overview, languages, and top_repos SVG files written under generated/.
Package version exposes the binary's build-stamped version string, overridden at link time via -ldflags.
Package version exposes the binary's build-stamped version string, overridden at link time via -ldflags.
Package viewshistory persists per-repo daily traffic counts so the Overview SVG can show a lifetime view total instead of GitHub's rolling 14-day window.
Package viewshistory persists per-repo daily traffic counts so the Overview SVG can show a lifetime view total instead of GitHub's rolling 14-day window.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL