From 3bcaa35b5d25ca9e12389ab4bf78600ae5df8af8 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sat, 27 Apr 2019 00:15:02 +0100 Subject: Integrate iterator with importer --- bridge/github/config.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bridge/github/config.go') 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) -- cgit