{"id":18342056,"url":"https://github.com/vikstrous/mvpkg","last_synced_at":"2025-09-12T14:32:04.699Z","repository":{"id":40570209,"uuid":"242446787","full_name":"vikstrous/mvpkg","owner":"vikstrous","description":"A tool for moving Go packages within a Go module","archived":false,"fork":false,"pushed_at":"2025-01-01T15:56:18.000Z","size":78,"stargazers_count":11,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T16:37:58.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vikstrous.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-23T03:00:08.000Z","updated_at":"2024-07-04T12:50:38.000Z","dependencies_parsed_at":"2024-01-12T03:15:39.152Z","dependency_job_id":"c9c37877-7859-456b-aa02-1770deed718b","html_url":"https://github.com/vikstrous/mvpkg","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/vikstrous%2Fmvpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikstrous%2Fmvpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikstrous%2Fmvpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikstrous%2Fmvpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikstrous","download_url":"https://codeload.github.com/vikstrous/mvpkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232747718,"owners_count":18570505,"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-05T20:29:23.301Z","updated_at":"2025-01-06T16:13:30.602Z","avatar_url":"https://github.com/vikstrous.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mvpkg\n\n[![CircleCI](https://circleci.com/gh/vikstrous/mvpkg.svg?style=svg)](https://circleci.com/gh/vikstrous/mvpkg)\n[![codecov](https://codecov.io/gh/vikstrous/mvpkg/branch/master/graph/badge.svg)](https://codecov.io/gh/vikstrous/mvpkg)\n[![GolangCI](https://golangci.com/badges/github.com/vikstrous/mvpkg.svg)](https://golangci.com/r/github.com/vikstrous/mvpkg)\n\nmvpkg is a refactoring tool for Go codebases that allows you to move a package\nor a set of packages from one path to another within the same go module. It's\nwritten for go modules and with performance in mind, so let me know if it's not\nfast enough for you.\n\nThis tool was built because [gomvpkg](https://github.com/golang/tools/blob/e1da425f72fd3793b579f4e74d908ba96eb16c8a/cmd/gomvpkg/main.go) doesn't work with go modules.\n\n\n## Installation:\n\n```\ngo get github.com/vikstrous/mvpkg\n```\n\n## Usage:\n\n```\nUsage: mvpkg \u003csrc\u003e \u003cdst\u003e\n\n  mvpkg takes two positional arguments: a source and destination path\n  It works only withing a single go module and only with go module support enabled.\n  The source and destination paths must be relative to the root of the go module\n\n  -build-flags value\n        build tags to use while parsing source packages, can be specified morethan once\n        ex: -build-flags='-tags=foo bar'\n  -dry-run\n        print planned actions without executing them\n  -recursive\n        recursively move all packages nested under the source package\n  -v    verbose, print status while running\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikstrous%2Fmvpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikstrous%2Fmvpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikstrous%2Fmvpkg/lists"}