{"id":21937641,"url":"https://github.com/cap32/migrate-go-mod-cli","last_synced_at":"2026-04-16T10:34:40.230Z","repository":{"id":57677800,"uuid":"181155735","full_name":"Cap32/migrate-go-mod-cli","owner":"Cap32","description":"cli tool for automatic migrating to go mod","archived":false,"fork":false,"pushed_at":"2019-04-13T11:00:31.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T14:25:57.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Cap32.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-13T10:37:33.000Z","updated_at":"2023-03-04T05:34:31.000Z","dependencies_parsed_at":"2022-08-31T05:23:23.759Z","dependency_job_id":null,"html_url":"https://github.com/Cap32/migrate-go-mod-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cap32/migrate-go-mod-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fmigrate-go-mod-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fmigrate-go-mod-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fmigrate-go-mod-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fmigrate-go-mod-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cap32","download_url":"https://codeload.github.com/Cap32/migrate-go-mod-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cap32%2Fmigrate-go-mod-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260285700,"owners_count":22986443,"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-11-29T01:21:04.274Z","updated_at":"2026-04-16T10:34:40.198Z","avatar_url":"https://github.com/Cap32.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Migrate-go-mod-cli\n\nCLI tool for automatic migrating to `go mod`. Will fix relative paths in `import` statements.\n\n**From**\n\n```go\nimport (\n  \"fmt\"\n  \"./foo/bar\"\n  qux \"./baz\"\n)\n```\n\n**To**\n\n```go\nimport (\n  \"fmt\"\n  \"my-module/foo/bar\"\n  qux \"my-module/baz\"\n)\n```\n\n## Installation\n\n```bash\n$ npm install -g migrate-to-mod-cli\n```\n\n**You should install node.js (\u003e= v8.0) first**\n\n## Usage\n\n```bash\nmigrate-go-mod -m \u003cmodule\u003e -i \u003cinput\u003e -o \u003coutput\u003e\n```\n\n## Contrubitting\n\nThis tool is written by `node.js` and `yarn`.\n\nTo develop this tool, please run `yarn install` to install the dependencies,\nand make sure `yarn test` is passed.\n\nPR is welcome.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap32%2Fmigrate-go-mod-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcap32%2Fmigrate-go-mod-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap32%2Fmigrate-go-mod-cli/lists"}