godef
Print where symbols are defined in Go source code (by rogpeppe)
gocode
An autocompletion daemon for the Go programming language (by nsf)
godef | gocode | |
---|---|---|
1 | 2 | |
661 | 5,007 | |
- | - | |
0.0 | 0.0 | |
10 days ago | about 1 year ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
godef
Posts with mentions or reviews of godef.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-12.
-
Error message following the tutorial : https://github.com/abourget/getting-started-with-golang/blob/master/Getting_Started_for_Windows.md
go get -u github.com/rogpeppe/godef/...
gocode
Posts with mentions or reviews of gocode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-12.
-
Error message following the tutorial : https://github.com/abourget/getting-started-with-golang/blob/master/Getting_Started_for_Windows.md
C:\Users\alber>go install -u -ldflags -H=windowsgui github.com/nsf/gocode/...
-
How should I install these packages that lang+lsp want? Through my distro's package manager, or emacs's? I need some help
So, for exmaple for gocode. You need to find it's github page, find install instruction there: go get -u github.com/nsf/gocode And here you go, but of course before that you need to have your GOPATH and PATH to be configured in .bashrc for something like this: export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin
What are some alternatives?
When comparing godef and gocode you can also consider the following projects:
getting-started-with-golang - Simple getting started guides for Go
vim-go - Go development plugin for Vim
go-plus - An Enhanced Go Experience For The Atom Editor
Go for Visual Studio Code
Goclipse
vscode-go - Go extension for Visual Studio Code
go-lang-idea-plugin - Google Go language IDE built using the IntelliJ Platform
go-language-server - A Go language server.
GNU/Emacs go-mode - Emacs mode for the Go programming language
GoSublime - A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
coc-go - Go language server extension using gopls for coc.nvim.
vim-compiler-go - Vim compiler plugin for Go (golang)