This commit is contained in:
Liang Ding 2014-09-04 23:13:11 +08:00
parent 8bc1936de8
commit 4ff11fb733
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ func AutocompleteHandler(w http.ResponseWriter, r *http.Request) {
libPath := userLib + string(os.PathListSeparator) + masterLib
//glog.Infof("gocode set lib-path %s", libPath)
// FIXME: 使用 gocode set lib-path 在多工作空间环境下肯定是有问题的,需要考虑其他实现方式
argv := []string{"set", "lib-path", libPath}
exec.Command("gocode", argv...).Start()