提交 4c018ba9 编写于 作者: M Mislav Marohnić

Go formatting fixes

上级 0087de51
......@@ -2,9 +2,9 @@ package commands
import (
"fmt"
"net/url"
"regexp"
"strings"
"net/url"
"github.com/github/hub/github"
"github.com/github/hub/utils"
......
......@@ -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") {
......
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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册