top

The basicauth command demonstrates using the github.BasicAuthTransport, including handling two-factor authentication. This won't currently work for accounts that use SMS to receive one-time passwords.

Imports 2 package(s) ΒΆ

  1. github.com/google/go-github/v26/github
  2. golang.org/x/crypto/ssh/terminal