Go语言中文网 为您找到相关结果 6

win10下安装docker报错:Docker failed to enable Hyper-V.

报错信息如下:照着提示的网站去安装virtualization/hyperv,三个方法都不行。求大神帮忙看看怎么搞啊? ```go Docker failed to enable Hyper-V. Please enable this feature manually for Docker to be able to work properly. To enable hyperV, follow the instructions here: https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install ``` **系统环境如下:** !...阅读全文

eclipse中没有Go语言提示

照着网上 http://www.cnblogs.com/yjf512/archive/2012/06/19/2555248.html 说的配置: . Start Eclipse, then select Help > Install New Software... In the dialog that appears, enter the update site URL into the Work with text box: http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/ Click on the Add... button. 还是没有Go代码提示,到底哪里出错了??? ...阅读全文

一个想学golang的程序猿的吐槽

接触golang语言几天了,大部分是业余时间,看了一下入门教程,觉得语言风格相对于C来说改进很大,虽然我只学过一点C(主要用java写了几年的android),接着看了一下这本书,各种bug就不说了,当我照着书中的结构创建项目后,尽然各种编译不了,关键是网上搜索资源看到的答案简直让人崩溃,难道就没有一个程序猿写个清楚一点的教程吗?最起码对想要入门的人来说很重要,然道golang就只是给各种C或C++大神用的吗?不说golang想不想替换C或者C++,但是想取代java这样的语言就不要做梦了...阅读全文

import "C","C"在哪?

看到一个小程序,开头是import"C" 照着敲了一下,错误提示没有"C"这个package google找到这么一个网址" https://golang.org/cmd/cgo/ "可惜打不开,但是能看出来是有个package是"cmd/cgo" 然后在官方文档上却找不到"cmd"这个package. 却找到了"runtime/cgo",看了下cgo.go,里面有一句*import"C"* 有看了下*/usr/local/go/src,里面没有"C",却有"cmd" 晕...阅读全文

请帮我看看,Goland2018.1.4无法Debug

刚刚安装Goland2018.1.4,照着帮助敲出这么个小程序: package main import "fmt" func HelloGo() string { return "welcome to go language" } func main() { output := HelloGo() fmt.Println(output) } **Run就正常,但是Debug就报错!** could not launch process: The system cannot find the file specified. Debugger finished with exit code 1 请问如何设置使得能够Debug...阅读全文

sublime+margo的安装问题,求大神指点

Abort. Cannot start MarGo: Exception: Cannot find command `C:\Users\ctvit\AppData\Roaming\Sublime Text 2\Packages\User\GoSublime\windows-x64\bin\gosublime.margo_r16.07.09-1_go?.exe` 我照着网上的安装环境安装margo后,出现如上错误提示, 在移动margo.exe改名的过程中无法命名为gosublime.margo_r16.07.09-1_go?.exe,别人的都是_go+版本号+.exe,而我的是问号,问号在win下面不可以在文件名...阅读全文