Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DirectoryName = ".githoard"
View Source
const LoginFileName = "login.json"

Variables

This section is empty.

Functions

func DirectoryPath

func DirectoryPath() (string, error)

Types

type Login

type Login struct {
	InstanceUri string `json:"instance_uri"`
	Token       string `json:"token"`
	GitHubToken string `json:"github-token"`
}

func ReadLogin

func ReadLogin() (*Login, error)

func (*Login) Write

func (l *Login) Write() error

Jump to

Keyboard shortcuts

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