{"id":18840219,"url":"https://github.com/maxim2266/go-def","last_synced_at":"2026-01-29T13:30:20.768Z","repository":{"id":151956885,"uuid":"537168193","full_name":"maxim2266/go-def","owner":"maxim2266","description":"A tool for Kate editor for finding symbol definitions in Go source files.","archived":false,"fork":false,"pushed_at":"2022-09-17T09:34:21.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T09:42:15.333Z","etag":null,"topics":["find-definition","golang","kate-editor","lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxim2266.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-15T18:58:33.000Z","updated_at":"2022-09-15T19:11:09.000Z","dependencies_parsed_at":"2023-06-10T02:30:48.459Z","dependency_job_id":null,"html_url":"https://github.com/maxim2266/go-def","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fgo-def","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fgo-def/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fgo-def/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxim2266%2Fgo-def/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxim2266","download_url":"https://codeload.github.com/maxim2266/go-def/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776943,"owners_count":19695185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["find-definition","golang","kate-editor","lua"],"created_at":"2024-11-08T02:46:53.935Z","updated_at":"2026-01-29T13:30:20.700Z","avatar_url":"https://github.com/maxim2266.png","language":"Lua","readme":"# go-def\n\n[![License: BSD 3 Clause](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\n`go-def` is a tool for Kate editor for finding symbol definitions in Go source files.\nIt locates the definition of the symbol under cursor.\n\n### Installation Steps\n1. Make sure `Lua5.3` and `guru` are installed:\n```\ngo install golang.org/x/tools/cmd/guru@latest\nsudo apt install lua5.3\n```\n2. Clone this repository and `cd` to it;\n3. Either `make install` for the default installation to `$XDG_DATA_HOME/kate/tools/`, where\n`$XDG_DATA_HOME` defaults to `$HOME/.local/share`, or type `make` and then copy the file\n`go-def` to any suitable location;\n4. Add the tool to Kate editor:\n![Tool setup](./setup.png)\n5. Optionally add a keyboard shortcut to launch the tool.\n\n### Notes\n- I don't know how to make Kate open files in read-only mode from the command line, so just beware\nthat all files are opened writable.\n- The tool uses [`guru`](https://pkg.go.dev/golang.org/x/tools/cmd/guru) for finding the definitions,\nand in large projects it can be quite slow to respond (10 seconds or so), while Kate editor provides no\nvisual feedback, so be patient.\n\n### Status\nTested with Kate version 19.12.3 on Linux Mint 20.3.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim2266%2Fgo-def","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxim2266%2Fgo-def","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxim2266%2Fgo-def/lists"}