gh_api

package
v0.0.0-...-cb0c101 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPlainUserAllRepoAfterDate

func GetPlainUserAllRepoAfterDate(username string, date time.Time, opts ...option.Option) ([]*gh_model.Repository, error)

func GetPlainUserAllRepos

func GetPlainUserAllRepos(username string, opts ...option.Option) ([]*gh_model.Repository, error)

func GetPlainUserAllStarred

func GetPlainUserAllStarred(username string, opts ...option.Option) ([]*gh_model.Repository, error)

func GetPlainUserRepo

func GetPlainUserRepo(username string, page, size int) ([]*gh_model.Repository, error)

func GetPlainUserStarred

func GetPlainUserStarred(username string, page, size int) ([]*gh_model.Repository, error)

func GetSimpleUserInfo

func GetSimpleUserInfo(username string) (*gh_model.User, error)

func GetUserAllRepoAfterDate

func GetUserAllRepoAfterDate(username string, date time.Time, opts ...option.Option) ([]*github.Repository, *github.Response, error)

func GetUserAllRepos

func GetUserAllRepos(username string, opts ...option.Option) ([]*github.Repository, *github.Response, error)

func GetUserAllStarred

func GetUserAllStarred(username string, opts ...option.Option) ([]*github.StarredRepository, *github.Response, error)

func GetUserInfo

func GetUserInfo(username string) (*github.User, *github.Response, error)

func GetUserRepo

func GetUserRepo(username string, page, size int) ([]*github.Repository, *github.Response, error)

func GetUserStarred

func GetUserStarred(username string, page, size int) ([]*github.StarredRepository, *github.Response, error)

func InitClient

func InitClient(token string) *github.Client

func SearchRepoByTopic

func SearchRepoByTopic(topic string, opts ...option.Option) ([]*github.Repository, *github.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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