https://github.com/sourcegraph/go-ctags
Package ctags provides a Go wrapper for universal-ctags.
https://github.com/sourcegraph/go-ctags
Last synced: 13 days ago
JSON representation
Package ctags provides a Go wrapper for universal-ctags.
- Host: GitHub
- URL: https://github.com/sourcegraph/go-ctags
- Owner: sourcegraph
- License: apache-2.0
- Created: 2020-09-22T19:47:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-07-29T09:46:46.000Z (8 months ago)
- Last Synced: 2026-01-15T17:03:38.504Z (about 2 months ago)
- Language: Go
- Size: 53.7 KB
- Stars: 7
- Watchers: 52
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-ctags: universal-ctags wrapper for easy access in Go
Note: This library is meant only for Sourcegraph use.
To improve `type:symbol` results in Sourcegraph,
for languages with high quality Tree-sitter grammars,
prefer adding support in `scip-ctags` in the Sourcegraph
monorepo over adding support in this repo.
## Adding new ctags flags
Add/modify appropriate `.ctags` files in `ctagsdotd`
and re-run `./gen.sh` at the root of the repository.
## Testing
Requires: `universal-ctags` on PATH. For exact version,
see the [CI workflow](.github/workflows/ci.yml).
Run tests: `go test ./...`
Update snapshots: `go test ./... -update`
Clean up old snapshots: `go test ./... -update -clean`