Documentation ¶
Overview ¶
Example ¶
ctx := context.Background() client, _ := NewHTTPClient() gh := github.NewClient(client) u, _, _ := gh.Users.Get(ctx, testOwner) fmt.Println(u.GetLogin())
Output: k1LoW
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
NewHTTPClient returns a *http.Client that makes API requests via the `gh` command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.