🍺 BREW Explorer

← all formulae

gotags

brew install gotags v1.4.1 MIT

Tag generator for Go, compatible with ctags

14
30-day installs · #7705
27
90-day · #8978
156
365-day · #8009
862
★ GitHub stars · updated 5y ago

Build dependencies

go

GitHub topics

ctags go golang gotags

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tag generator for Go, compatible with ctags",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:21+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "gotags",
  "github_default_branch": "master",
  "github_last_commit_at": "2021-04-08T09:12:32Z",
  "github_readme_excerpt": "# gotags\n\ngotags is a [ctags][]-compatible tag generator for [Go][].\n\n[![Build Status][travis-badge]][travis-link]\n[![Report Card][report-badge]][report-link]\n\n## Installation\n\n[Go][] version 1.1 or higher is required. Install or update gotags using the\n`go get` command:\n\n\tgo get -u github.com/jstemmer/gotags\n\nOr using package manager `brew` on OS X\n\n\tbrew install gotags\n\n## Usage\n\n\tgotags [options] file(s)\n\n\t-L=\"\": source file names are read from the specified file. If file is \"-\", input is read from standard in.\n\t-R=false: recurse into directories in the file list.\n\t-f=\"\": write output to specified file. If file is \"-\", output is written to standard out.\n\t-silent=false: do not produce any output on error.\n\t-sort=true: sort tags.\n\t-tag-relative=false: file paths should be relative to the directory containing the tag file.\n\t-v=false: print version.\n\n## Vim [Tagbar][] configuration\n\nPut the following configuration in your vimrc:\n\n\tlet g:tagbar_type_go = {\n\t\t\\ \u0027ctagstype\u0027 : \u0027go\u0027,\n\t\t\\ \u0027kinds\u0027     : [\n\t\t\t\\ \u0027p:package\u0027,\n\t\t\t\\ \u0027i:imports:1\u0027,\n\t\t\t\\ \u0027c:constants\u0027,\n\t\t\t\\ \u0027v:variables\u0027,\n\t\t\t\\ \u0027t:types\u0027,\n\t\t\t\\ \u0027n:interfaces\u0027,\n\t\t\t\\ \u0027w:fields\u0027,\n\t\t\t\\ \u0027e:embedded\u0027,\n\t\t\t\\ \u0027m:methods\u0027,\n\t\t\t\\ \u0027r:constructor\u0027,\n\t\t\t\\ \u0027f:functions\u0027\n\t\t\\ ],\n\t\t\\ \u0027sro\u0027 : \u0027.\u0027,\n\t\t\\ \u0027kind2scope\u0027 : {\n\t\t\t\\ \u0027t\u0027 : \u0027ctype\u0027,\n\t\t\t\\ \u0027n\u0027 : \u0027ntype\u0027\n\t\t\\ },\n\t\t\\ \u0027scope2kind\u0027 : {\n\t\t\t\\ \u0027ctype\u0027 : \u0027t\u0027,\n\t\t\t\\ \u0027ntype\u0027 : \u0027n\u0027\n\t\t\\ },\n\t\t\\ \u0027ctagsbin\u0027  : \u0027gotags\u0027,\n\t\t\\ \u0027ctagsargs\u0027 : \u0027-sort -silent\u0027\n\t\\ }\n\n### Vim+Tagbar Screenshot\n![vim Tagbar gotags](https://stemmertech.com/images/gotags-1.0.0-screenshot.png)\n\n## gotags with Emacs\n\nGotags doesn\u0027t have support for generating etags yet, but\n[gotags-el](https://github.com/craig-ludington/gotags-el) allows you to use\ngotags directly in Emacs.\n\n[ctags]: http://ctags.sourceforge.net\n[go]: https://golang.org\n[tagbar]: https://majutsushi.github.com/tagbar/\n[screenshot]: https://github.com/jstemmer/gotags/gotags-1.0.0-screenshot.png\n[travis-badge]: https://travis-ci.org/jstemmer/gotags.svg?branch=master\n",
  "github_repo": "jstemmer/gotags",
  "github_stars": 862,
  "github_topics": [
    "ctags",
    "go",
    "golang",
    "gotags"
  ],
  "homepage": "https://github.com/jstemmer/gotags",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 14,
  "installs_365d": 156,
  "installs_90d": 27,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "gotags",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7705,
  "rank_365d": 8009,
  "rank_90d": 8978,
  "raw_hash": "11268224d842f43c",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/gotags.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.4.1",
  "versioned_formulae": [],
  "why_use_this": null
}