{"id":13499887,"url":"https://github.com/ungerik/pkgreflect","last_synced_at":"2025-04-14T13:32:54.185Z","repository":{"id":4516173,"uuid":"5655994","full_name":"ungerik/pkgreflect","owner":"ungerik","description":"A Go preprocessor for package scoped reflection","archived":false,"fork":false,"pushed_at":"2017-09-05T12:27:27.000Z","size":14,"stargazers_count":105,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T23:02:18.511Z","etag":null,"topics":[],"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/ungerik.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":"2012-09-03T07:53:00.000Z","updated_at":"2024-04-10T13:29:03.000Z","dependencies_parsed_at":"2022-09-02T18:22:53.356Z","dependency_job_id":null,"html_url":"https://github.com/ungerik/pkgreflect","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/ungerik%2Fpkgreflect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungerik%2Fpkgreflect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungerik%2Fpkgreflect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungerik%2Fpkgreflect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ungerik","download_url":"https://codeload.github.com/ungerik/pkgreflect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248888702,"owners_count":21178094,"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":[],"created_at":"2024-07-31T22:00:45.555Z","updated_at":"2025-04-14T13:32:54.159Z","avatar_url":"https://github.com/ungerik.png","language":"Go","funding_links":[],"categories":["Generation \u0026 Generics","Generation and Generics","代码生成与泛型","Relational Databases","代碼生成與泛型","\u003cspan id=\"代和泛型-generation-and-generics\"\u003e代和泛型 Generation and Generics\u003c/span\u003e"],"sub_categories":["Advanced Console UIs","SQL 查询语句构建库","高级控制台界面","高級控制台界面","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"## pkgreflect - A Go preprocessor for package scoped reflection\n\nProblem: Go reflection does not support enumerating types, variables and functions of packages.\n\npkgreflect generates a file named pkgreflect.go in every parsed package directory.\nThis file contains the following maps of exported names to reflection types/values:\n\n\tvar Types = map[string]reflect.Type{ ... }\n\tvar Functions = map[string]reflect.Value{ ... }\n\tvar Variables = map[string]reflect.Value{ ... }\n\tvar Consts = map[string]reflect.Value{ ... }\n\nCommand line usage:\n\n\tpkgreflect --help\n\tpkgreflect [-notypes][-nofuncs][-novars][-noconsts][-unexported][-norecurs][-gofile=filename.go] [DIR_NAME]\n\nIf -norecurs is not set, then pkgreflect traverses recursively into sub-directories.\nIf no DIR_NAME is given, then the current directory is used as root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fungerik%2Fpkgreflect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fungerik%2Fpkgreflect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fungerik%2Fpkgreflect/lists"}