{"id":36606746,"url":"https://github.com/horvathandris/go-type-registry","last_synced_at":"2026-01-12T08:46:04.847Z","repository":{"id":57576945,"uuid":"358333669","full_name":"horvathandris/go-type-registry","owner":"horvathandris","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-22T05:45:33.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-05T13:24:52.169Z","etag":null,"topics":["cli","go","golang","parser","parsing","registry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/horvathandris.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}},"created_at":"2021-04-15T17:03:39.000Z","updated_at":"2021-04-22T16:01:19.000Z","dependencies_parsed_at":"2022-09-11T22:50:24.355Z","dependency_job_id":null,"html_url":"https://github.com/horvathandris/go-type-registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/horvathandris/go-type-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horvathandris%2Fgo-type-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horvathandris%2Fgo-type-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horvathandris%2Fgo-type-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horvathandris%2Fgo-type-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horvathandris","download_url":"https://codeload.github.com/horvathandris/go-type-registry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horvathandris%2Fgo-type-registry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","parsing","registry"],"created_at":"2026-01-12T08:46:04.786Z","updated_at":"2026-01-12T08:46:04.843Z","avatar_url":"https://github.com/horvathandris.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-type-registry\n\nCreate a type registry of all exported struct types in your package in Go.\n\nSupports directory parsing as well as single file parsing. When parsing a directory\nthe output registry will be created inside the directory.\n\n## Usage\n\nYou can either use the CLI or the parser directly.\n\n### CLI\n\n```\ngo-type-registry [ OPTIONS ]\n```\n\n#### Flags:\n\n- `-i, --input` the input .go file, from which the registry is created **(required)**\n- `-o, --output` the output .go file, where the registry is created **(required)**\n\n### Parser\n\n```\nparser.Start(inputFilename, outputFilename)\n```\n\n## Using the type registry\n\nYou can create an instance from the registry using MakeInstance\n\n```\ninstance := typeRegistry.MakeInstance(typeName)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorvathandris%2Fgo-type-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorvathandris%2Fgo-type-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorvathandris%2Fgo-type-registry/lists"}