如何将ctags用于golang?

I depend heavily upon ctags to traverse between my code.

Can anyone suggest how to use ctags with golang in Mac.

I tried using gotags, but I did not see any tag file generated and I was not able to traverse between the structure definition in vice versa.

The usual ctags -R works for me.

You need to edit ~/.ctags for ctags to generate tags with golang. Check following link ctag database for Go. Then do the usual ctags -R

gotags word for me: gotags -R ./* > tags

Universal-ctags (https://ctags.io), an unofficial fork of Exuberant-ctags has built-in Go parser. It is not regex based (== not .ctags based).