amikai / gogtags

GNU global compatible source code tagging for golang

Home Page:https://juntaki.com/blog/gogtags/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

GNU global compatible source code tagging for golang

https://juntaki.com/blog/gogtags/

License:MIT License


Languages

Language:Go 100.0%