求教

AnstOu · · 1467 次点击 · 开始浏览    置顶
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。

初次学习golang 运行时一直包一下错误 ``` # runtime D:\Go\src\runtime\map.go:64:2: bucketCntBits redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:64:18 D:\Go\src\runtime\map.go:65:2: bucketCnt redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:65:23 D:\Go\src\runtime\map.go:69:2: loadFactorNum redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:69:18 D:\Go\src\runtime\map.go:70:2: loadFactorDen redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:70:18 D:\Go\src\runtime\map.go:76:2: maxKeySize redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:76:17 D:\Go\src\runtime\map.go:77:2: maxValueSize redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:77:17 D:\Go\src\runtime\map.go:82:2: dataOffset redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:85:4 D:\Go\src\runtime\map.go:91:2: empty redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:91:19 D:\Go\src\runtime\map.go:92:2: evacuatedEmpty redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:92:19 D:\Go\src\runtime\map.go:93:2: evacuatedX redeclared in this block previous declaration at D:\Go\src\runtime\hashmap.go:93:19 D:\Go\src\runtime\map.go:93:2: too many errors ``` 以下是运行代码 ```go package main import ( "fmt" ) func main() { fmt.Println("Hello World!") } ``` 版本是 go version go1.11 windows/amd64

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1467 次点击  
加入收藏 微博
9 回复  |  直到 2018-10-11 17:08:10
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传