Documentation ¶
Index ¶
- func WithDaily() option
- func WithDateRange(dr string) option
- func WithLanguage(lang string) option
- func WithMonthly() option
- func WithSpokenLanguageCode(code string) option
- func WithSpokenLanguageFull(lang string) option
- func WithURL(url string) option
- func WithWeekly() option
- type Developer
- type Fetcher
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDateRange ¶
func WithDateRange(dr string) option
func WithLanguage ¶
func WithLanguage(lang string) option
func WithMonthly ¶
func WithMonthly() option
func WithSpokenLanguageCode ¶
func WithSpokenLanguageCode(code string) option
func WithSpokenLanguageFull ¶
func WithSpokenLanguageFull(lang string) option
func WithWeekly ¶
func WithWeekly() option
Types ¶
type Developer ¶
Developer represent a developer in the developer trending list.
func TrendingDevelopers ¶
TrendingRepositories fetch all developers from GitHub trending.
type Fetcher ¶
type Fetcher interface { FetchRepos() ([]*Repository, error) FetchDevelopers() ([]*Developer, error) }
Fetcher defines methods to fetch trending repos and developers
type Repository ¶
type Repository struct { Author string Name string Link string Desc string Lang string Stars int Forks int Add int BuiltBy []string }
Repository represent a repository in the trending list.
func TrendingRepositories ¶
func TrendingRepositories(opts ...option) ([]*Repository, error)
TrendingRepositories fetch all repositories from GitHub trending.
Click to show internal directories.
Click to hide internal directories.