{"action":"created","issue":{"url":"https://api.github.com/repos/phuslu/goproxy/issues/21","labels_url":"https://api.github.com/repos/phuslu/goproxy/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/phuslu/goproxy/issues/21/comments","events_url":"https://api.github.com/repos/phuslu/goproxy/issues/21/events","html_url":"https://github.com/phuslu/goproxy/issues/21","id":94552369,"number":21,"title":"编译失败","user":{"login":"CNMan","id":8692234,"avatar_url":"https://avatars.githubusercontent.com/u/8692234?v=3","gravatar_id":"","url":"https://api.github.com/users/CNMan","html_url":"https://github.com/CNMan","followers_url":"https://api.github.com/users/CNMan/followers","following_url":"https://api.github.com/users/CNMan/following{/other_user}","gists_url":"https://api.github.com/users/CNMan/gists{/gist_id}","starred_url":"https://api.github.com/users/CNMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CNMan/subscriptions","organizations_url":"https://api.github.com/users/CNMan/orgs","repos_url":"https://api.github.com/users/CNMan/repos","events_url":"https://api.github.com/users/CNMan/events{/privacy}","received_events_url":"https://api.github.com/users/CNMan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-12T10:04:27Z","updated_at":"2015-07-12T17:25:56Z","closed_at":null,"body":"```\r\ne:\\Backup\\go\\src\\github.com\\phuslu\\goproxy\\goproxy>go build\r\ncan't load package: E:\\Backup\\go\\src\\github.com\\phuslu\\goproxy\\goproxy\\main.go:19:2: local import \"../httpproxy\" in non-local package\r\n```\r\n\r\n这个跟 #3 的问题一样，查了一下，用go build main.go以后不报错了。\r\nhttp://stackoverflow.com/questions/10687627\r\n但又出现了下面的错误，如何解决？貌似要修改代码？\r\nhttp://stackoverflow.com/questions/24767707\r\n\r\n```\r\ne:\\Backup\\go\\src\\github.com\\phuslu\\goproxy\\goproxy>go build main.go\r\n# _/e_/Backup/go/src/github.com/phuslu/goproxy/httpproxy\r\n..\\httpproxy\\handler.go:9: can't find import: \"github.com/golang/glog\"\r\n# _/e_/Backup/go/src/github.com/phuslu/goproxy/httpproxy/filters/auth\r\n..\\httpproxy\\filters\\auth\\auth.go:12: can't find import: \"github.com/cloudflare/golibs/lrucache\"\r\n```"},"comment":{"url":"https://api.github.com/repos/phuslu/goproxy/issues/comments/120746090","html_url":"https://github.com/phuslu/goproxy/issues/21#issuecomment-120746090","issue_url":"https://api.github.com/repos/phuslu/goproxy/issues/21","id":120746090,"user":{"login":"phuslu","id":195836,"avatar_url":"https://avatars.githubusercontent.com/u/195836?v=3","gravatar_id":"","url":"https://api.github.com/users/phuslu","html_url":"https://github.com/phuslu","followers_url":"https://api.github.com/users/phuslu/followers","following_url":"https://api.github.com/users/phuslu/following{/other_user}","gists_url":"https://api.github.com/users/phuslu/gists{/gist_id}","starred_url":"https://api.github.com/users/phuslu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuslu/subscriptions","organizations_url":"https://api.github.com/users/phuslu/orgs","repos_url":"https://api.github.com/users/phuslu/repos","events_url":"https://api.github.com/users/phuslu/events{/privacy}","received_events_url":"https://api.github.com/users/phuslu/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T17:25:56Z","updated_at":"2015-07-12T17:25:56Z","body":"应该会有。 但是 cloudflare 的这些 patch 还是必须要移植到 go 1.5 才行。 否则 https 的性能是无法接受的。"}}