Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2022 Changes in this version + var GitHubOAuthAPIToCLIURLPath = "/github/oauth/callback" + var GitHubOAuthCLIToAPIURL = "http://127.0.0.1:8080/github/oauth/callback" + var GitHubOAuthClientID = "a8c368bfe297f0b1808a" + var GitHubOAuthScopes = []string + type UserConfig struct + func NewUserConfig() UserConfig + func (UserConfig) GetBool(key UserConfigKey) bool + func (UserConfig) GetString(key UserConfigKey) string + func (UserConfig) Set(key UserConfigKey, value interface{}) + func (UserConfig) WriteConfig() error + func (u UserConfig) PopulateFromGitHubUser(githubUser *github.AuthenticatedUser) + type UserConfigKey string + const UserConfigKeyGitHubAccessToken + const UserConfigKeyGitHubEmail + const UserConfigKeyGitHubFullName + const UserConfigKeyGitHubUsername + const UserConfigKeyUserIsLoggedIn