GNU global compatible source code tagging for golang
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
GPATH
GRTAGS
GTAGS
LICENSE
README.md
global.go
go.mod
go.sum
gogtags.go
gogtags_screenshot1.gif
gogtags_screenshot2.gif
main.go
main_test.go

README.md

gogtags

Build Status

GNU GLOBAL compatible source code tagging for golang

Installation

go get github.com/juntaki/gogtags

GNU GLOBAL Installation for gogtags

GNU GLOBAL with sqlite3 is required for reference. https://www.gnu.org/software/global/

Debian/Ubuntu

sudo apt install libncurses5-dev build-essential  # for ubuntu, build dependency
wget http://tamacom.com/global/global-6.5.7.tar.gz
tar xvf global-6.5.7.tar.gz
cd global-6.5.7
./configure --with-sqlite3
make
sudo make install

Mac

brew install global --with-sqlite3

How to use

gogtags -v

screenshot1

Use with emacs helm-gtags or other editor plugin

Just use it as ususal, Generated tag is GNU GLOBAL compatible.

screenshot1