tui

package
v0.0.0-...-c57c5b7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ctx, RestClient = r.AuthREST(token)
)

Functions

func RenderList

func RenderList(results *github.UsersSearchResult)

func RenderStats

func RenderStats(username string, accType string, s *spinner.Spinner)

func SetupContribsSparkline

func SetupContribsSparkline(user g.User) *widgets.SparklineGroup

func SetupForksPerLangs

func SetupForksPerLangs(allRepos []*github.Repository, accType string) *widgets.BarChart

func SetupImage

func SetupImage(profileImg string, login string) (*widgets.Image, []image.Image)

func SetupLangsByCommits

func SetupLangsByCommits(user g.User) *widgets.PieChart

func SetupLangsByRepo

func SetupLangsByRepo(allRepos []*github.Repository, accType string) *widgets.PieChart

func SetupOrgInfo

func SetupOrgInfo(org g.Organization) *widgets.Paragraph

func SetupOrgRepos

func SetupOrgRepos(org g.Organization, allRepos []*github.Repository) *widgets.Paragraph

func SetupOrgStats

func SetupOrgStats(org g.Organization, allRepos []*github.Repository) *widgets.Paragraph

func SetupProfileInfo

func SetupProfileInfo(user g.User) *widgets.Paragraph

func SetupProfileStats

func SetupProfileStats(user g.User, allRepos []*github.Repository) *widgets.Paragraph

func SetupReposStats

func SetupReposStats(user g.User, allRepos []*github.Repository) *widgets.Paragraph

func SetupStarsPerLangs

func SetupStarsPerLangs(allRepos []*github.Repository, accType string) *widgets.BarChart

Types

This section is empty.

Jump to

Keyboard shortcuts

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