{"id":17300747,"url":"https://github.com/mrueg/go-deconstruct","last_synced_at":"2025-03-26T21:44:58.019Z","repository":{"id":64303590,"uuid":"233833471","full_name":"mrueg/go-deconstruct","owner":"mrueg","description":"Takes a non-stripped go binary that is built with go module support and creates a go.mod from it.","archived":false,"fork":false,"pushed_at":"2022-03-14T11:00:17.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T03:42:10.747Z","etag":null,"topics":["go","golang","gomodule","gomodules"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrueg.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":"2020-01-14T12:10:56.000Z","updated_at":"2022-03-14T10:55:07.000Z","dependencies_parsed_at":"2023-01-15T10:01:00.960Z","dependency_job_id":null,"html_url":"https://github.com/mrueg/go-deconstruct","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrueg%2Fgo-deconstruct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrueg%2Fgo-deconstruct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrueg%2Fgo-deconstruct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrueg%2Fgo-deconstruct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrueg","download_url":"https://codeload.github.com/mrueg/go-deconstruct/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245743339,"owners_count":20665090,"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":["go","golang","gomodule","gomodules"],"created_at":"2024-10-15T11:30:05.537Z","updated_at":"2025-03-26T21:44:57.994Z","avatar_url":"https://github.com/mrueg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-deconstruct\n\nTakes a non-stripped go binary that is built with go module support and creates a go.mod from it.\n\n## Usage\n\n```\n./go-deconstruct generate ${BINARY} [-o /path/to/go.mod]\n```\n\n## Example\n```\n./go-deconstruct generate ./go-deconstruct\n```\nReturns:\n```\nmodule github.com/mrueg/go-deconstruct\n\ngo 1.17\n\nrequire (\n        github.com/rsc/goversion v1.2.0\n        github.com/spf13/cobra v1.4.0\n        github.com/spf13/pflag v1.0.5\n)\n```\n\n## Caveats\n\n* Does not work on go binaries built without module support\n* Does not work on stripped binaries\n* Does include additional dependencies, that are dependencies from other dependencies (e.g. spf13/cobra depends on spf13/pflag)\n* Does not include exclude directives (as they are not included in the go binary)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrueg%2Fgo-deconstruct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrueg%2Fgo-deconstruct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrueg%2Fgo-deconstruct/lists"}