// NewGithubClient creates a new Github client
NewGithubClient creates a new Github client
// NewGithubClient creates a new Github client
func NewGithubClient() (client GithubQueryer) {
	src := oauth2.StaticTokenSource(
		&oauth2.Token{AccessToken: config.GetEnv("GITHUB_TOKEN")},
	)
	ctx := context.Background()
	client = &githubClient{
		v4Client: githubv4.NewClient(oauth2.NewClient(ctx, src)),
		ctx:      ctx,
	}
	return
}
func NewGithubClient ( ) ( client GithubQueryer ) { src := oauth2 . StaticTokenSource ( & oauth2 . Token { AccessToken : config . GetEnv ( " " ) } , ) ctx := context . Background ( ) client = & githubClient { v4Client : githubv4 . NewClient ( oauth2 . NewClient ( ctx , src ) ) , ctx : ctx , } return }
NewGithubClient creates a new Github client
NewGithubClient creates a new Github client