diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-04-27 00:15:02 +0100 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-05-05 18:16:10 +0200 |
commit | 3bcaa35b5d25ca9e12389ab4bf78600ae5df8af8 (patch) | |
tree | 3c512c5324cce2fb1e9beefc810e2807936a0768 /bridge/github/config.go | |
parent | c8ad4dbfd9511f4cfa748fa85c01fbca2edb348a (diff) | |
download | git-bug-3bcaa35b5d25ca9e12389ab4bf78600ae5df8af8.tar.gz |
Integrate iterator with importer
Diffstat (limited to 'bridge/github/config.go')
-rw-r--r-- | bridge/github/config.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bridge/github/config.go b/bridge/github/config.go index b881c585..2a3119a6 100644 --- a/bridge/github/config.go +++ b/bridge/github/config.go @@ -20,10 +20,12 @@ import ( "golang.org/x/crypto/ssh/terminal" ) -const githubV3Url = "https://api.github.com" -const keyUser = "user" -const keyProject = "project" -const keyToken = "token" +const ( + githubV3Url = "https://api.github.com" + keyUser = "user" + keyProject = "project" + keyToken = "token" +) func (*Github) Configure(repo repository.RepoCommon) (core.Configuration, error) { conf := make(core.Configuration) |