gitconfig

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GithubToken

func GithubToken() (string, error)

GithubToken extracts the GitHub token from the Git configuration.

Types

type NotFoundError

type NotFoundError struct {
	Key string
}

NotFoundError is the error returned when the key is not found in the Git configuration.

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

Error returns the error message.

Jump to

Keyboard shortcuts

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