system

package
v0.0.0-...-832427b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigDir = "/.gopher"
View Source
const ConfigFile = "/.gopher/config.yaml"

Variables

This section is empty.

Functions

func Init

func Init()

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL