Skip to content
No description, website, or topics provided.
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
CHANGELOG.md Checking in changes prior to tagging of version v0.0.3 Jan 4, 2020
LICENSE initial implement May 13, 2019
Makefile
README.md update README May 15, 2019
appveyor.yml
config.go use old type options --bool, --path and --int May 16, 2019
config_test.go initial implement May 13, 2019
error.go
gitconfig.go detect github token from hub config May 15, 2019
go.mod
go.sum udpate deps Jan 4, 2020
helper.go adjust interface of WithConfig Jan 4, 2020
special.go
special_test.go use token when requesting May 13, 2019
version.go Checking in changes prior to tagging of version v0.0.3 Jan 4, 2020

README.md

gitconfig

Build Status Coverage Status MIT License GoDoc

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

You can’t perform that action at this time.