Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigDir = "/.gopher"
View Source
const ConfigFile = "/.gopher/config.yaml"
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶
func WriteConfig(config *SecretConfig) error
Types ¶
type SecretConfig ¶
type SecretConfig struct { Github struct { ApiToken string `json:"api_token"` } `json:"github"` GitLab struct { ApiKey string `json:"api_key"` } `json:"gitlab"` }
var Config *SecretConfig
func Initialize ¶
func Initialize() (*SecretConfig, error)
Click to show internal directories.
Click to hide internal directories.