我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

vim-go:搜索功能说明而不是声明

I have installed vim-go, and use ctrl+] to go to the definition. For a function, Sometimes it ends up in the interface declaration (if it was declared in an interface), but what I really intended to do was to go to function definition/specification. How can go to actual function definition?

If :GoDef (which by default is mapped to gd and CTRL-]) doesn't work because it is a function in an interface, you can use :GoImplements to find implementations of that function. See the vim-go tutorial for more.

近期文章

  • 去捕获模板变量和名称
  • google datastore:重大更改re:匿名结构字段?
  • Go中的装饰器,代码风格很重要
  • 使用单引号的golang sql.Tx Exec-语句需要0个参数
  • Couchbase连接到丢失的数据库没有错误
  • swagger go中可运行的POST的示例代码
  • Goasp上的Golang Web服务器local.rc如何自动启动?
  • 使用Golang重组Json
  • golang打印echo.Context值
  • 如何提取自己的符号表
  • 你叫(* receiverType).method(receiver)?
  • 为Tensorflow构建Go绑定时出错
  • 找不到软件包“ testing / internal / testdeps”
  • 选择嵌套数组对象-Mgo
  • 我可以期望(要求)通过测试失败吗?
  • 我们可以将额外的参数传递给beego路由器吗
  • 追加中不能使用****文字(****类型)作为struct {}类型
  • 使用GoLang http.FileServer时找不到React脚本
  • 使用Go在App Engine上进行GORM Cloud SQL连接
  • Docker服务更新错误:EOF

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华