{"id":37990720,"url":"https://github.com/mmpx12/gcat","last_synced_at":"2026-01-16T18:43:18.060Z","repository":{"id":63832670,"uuid":"571060865","full_name":"mmpx12/gcat","owner":"mmpx12","description":"List or print functions, type, method in go files","archived":false,"fork":false,"pushed_at":"2022-11-28T00:39:06.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T09:38:32.408Z","etag":null,"topics":["cli","go","golang","parser"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmpx12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-27T02:49:09.000Z","updated_at":"2023-08-29T19:48:52.000Z","dependencies_parsed_at":"2023-01-22T10:46:07.074Z","dependency_job_id":null,"html_url":"https://github.com/mmpx12/gcat","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mmpx12/gcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fgcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fgcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fgcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fgcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmpx12","download_url":"https://codeload.github.com/mmpx12/gcat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmpx12%2Fgcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28481178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","go","golang","parser"],"created_at":"2026-01-16T18:43:13.700Z","updated_at":"2026-01-16T18:43:18.021Z","avatar_url":"https://github.com/mmpx12.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCAT: \n\n![img](.github/screenshots/output.png)\n\nList or print functions, type, method in go files\n\n## USAGE:\n\n```\ngcat [OPTION] FILE1 FILE2 ...\n\noptions:\n-h, --help                     Show this help\n-l, --list-functions           List all functions\n-p, --print-function   FUNC    Cat FUNC function\n-m, --method           TYPE    List TYPE method\n-t, --list-types               List types\n-d, --disable-syntax           Disable syntax highlighting\n-v, --version                  Print version and exit\n```\n\nIf no files  are passed, check recursivly in current directory  for .go files.\n\n**Note:** For pointer receivers * should be escaped and quoted. It can also be ommited:\n\n```sh\n$ gcat -m '\\*Receiver' main.go\nfunc (r *Receiver) FuncName() string {}\n\n$ gcat -m Receiver main.go\nfunc (r *Receiver) FuncName() string {}\n```\n\n### Examples:\n\n```sh\n$ gcat --list-functions\n$ gcat --print-function main main.go\n```\n\n## Install:\n\n```sh\ngo install github.com/mmpx12/gcat@latest\n```\n\nor\n\n```\ngit clone https://github.com/mmpx12/gcat.git\ncd gcat\nmake\nsudo make install\n```\n\nPrebuild binaries can be found  [here](https://github.com/mmpx12/gcat/releases/latest).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmpx12%2Fgcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmpx12%2Fgcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmpx12%2Fgcat/lists"}