cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

Add support for localhost #51

Closed samcoe closed 2 years ago

samcoe commented 2 years ago

This PR adds support for github.localhost host for the api and auth packages. The logic now reflects the same logic used in cli.

Closes https://github.com/cli/go-gh/issues/48