gh

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiEntryV4 = "https://api.github.com/graphql"

	SepLine  = "_____"
	SepDigit = "___"

	ClientID     = "a1af758b9f273ef1c488"
	ClientSecret = "38c223a7f008b21e018d231e0b0ce64711aa493b"
)

Variables

This section is empty.

Functions

func ApplyToken added in v1.0.7

func ApplyToken(req *graphql.Request) *graphql.Request

func GithubHttpClient added in v1.0.7

func GithubHttpClient() *http.Client

func RequestToken added in v1.0.7

func RequestToken() (token string)

func WithOAuth2Token

func WithOAuth2Token() graphql.ClientOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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