From 4c018ba9d5bb8e27d139527b5445c45ca507d4fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 20 Jul 2015 14:31:47 -0700 Subject: [PATCH] Go formatting fixes --- commands/compare.go | 2 +- github/hosts.go | 2 +- github/util.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/compare.go b/commands/compare.go index 28fac01a..ea8576c8 100644 --- a/commands/compare.go +++ b/commands/compare.go @@ -2,9 +2,9 @@ package commands import ( "fmt" + "net/url" "regexp" "strings" - "net/url" "github.com/github/hub/github" "github.com/github/hub/utils" diff --git a/github/hosts.go b/github/hosts.go index 9b8c6c49..5e369dca 100644 --- a/github/hosts.go +++ b/github/hosts.go @@ -26,7 +26,7 @@ func (h GitHubHosts) Include(host string) bool { func knownGitHubHosts() (hosts GitHubHosts) { defaultHost := DefaultGitHubHost() hosts = append(hosts, defaultHost) - hosts = append(hosts, "ssh." + GitHubHost) + hosts = append(hosts, "ssh."+GitHubHost) ghHosts, _ := git.Config("hub.host") for _, ghHost := range strings.Split(ghHosts, "\n") { diff --git a/github/util.go b/github/util.go index c3a8e43f..12e3a1b4 100644 --- a/github/util.go +++ b/github/util.go @@ -1,8 +1,8 @@ package github import ( - "github.com/github/hub/git" "github.com/github/hub/Godeps/_workspace/src/github.com/mattn/go-isatty" + "github.com/github/hub/git" ) func IsHttpsProtocol() bool { -- GitLab