Skip to content

Songmu/gitconfig

Repository files navigation

gitconfig

Test Status codecov.io MIT License PkgGoDev

gitconfig is a package to get configuration values from gitconfig.

Synopsis

val, err := gitconfig.Get("section.value")
if err != nil && !gitconfig.IsNotFound(err) {
    return err
}

// detect GitHub username from various informations
u, err := gitconfig.GitHubUser("")

Description

Installation

% go get github.com/Songmu/gitconfig

Author

Songmu

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •