config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextList

func ContextList() ([]string, error)

func Get

func Get(key string) string

func GetActiveContext

func GetActiveContext() string

func GetAuth

func GetAuth() string

func GetEditor

func GetEditor() string

func GetEmail

func GetEmail() string

func GetHost

func GetHost() string

func IsSet

func IsSet(key string) bool

func Set

func Set(key string, value string)

func SetActiveContext

func SetActiveContext(name string)

func SetAuth

func SetAuth(token string)

func SetEmail

func SetEmail(email string)

func SetHost

func SetHost(token string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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