{"id":22354158,"url":"https://github.com/adamtyn/at-migrator-tool","last_synced_at":"2026-04-16T12:37:46.017Z","repository":{"id":41285893,"uuid":"509020371","full_name":"AdamTyn/at-migrator-tool","owner":"AdamTyn","description":"快速投入使用的Golang数据迁移工具","archived":false,"fork":false,"pushed_at":"2022-09-28T09:54:45.000Z","size":142,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T13:43:43.365Z","etag":null,"topics":["go","golang-tools","mysql","postgresql","redis"],"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/AdamTyn.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":"2022-06-30T09:42:33.000Z","updated_at":"2022-10-24T02:46:21.000Z","dependencies_parsed_at":"2022-07-07T04:03:57.926Z","dependency_job_id":null,"html_url":"https://github.com/AdamTyn/at-migrator-tool","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Fat-migrator-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Fat-migrator-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Fat-migrator-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AdamTyn%2Fat-migrator-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AdamTyn","download_url":"https://codeload.github.com/AdamTyn/at-migrator-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245653104,"owners_count":20650630,"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-tools","mysql","postgresql","redis"],"created_at":"2024-12-04T13:11:40.106Z","updated_at":"2026-04-16T12:37:45.942Z","avatar_url":"https://github.com/AdamTyn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## at-migrator-tool\n\n1. 文件结构梳理\n\n    ```txt\n    main.go # 程序入口文件\n    doc/... # 存放子文档\n    internal/collector/... # 任务进程会调用的采集器\n    internal/conf/... # 解析配置的proto文件\n    internal/contract/... # 契约(interface)\n    internal/entity/... # 数据库实体\n    internal/pkg/... # 其他\n    internal/process/... # 加载到app容器的任务进程\n    internal/application.go # app容器\n    config.json # 配置文件\n    config.json.example # 配置文件模板\n    Makefile # 构建指令\n    ......\n    ```\n\n2. 构建指令详解\n   - 首次生成 *config.json* 配置文件\n\n     ```bash\n     make init\n     ```\n   - 编译 *internal/conf/conf.proto* 文件\n     \n     ```bash\n     make config\n     ```\n   - 只运行不编译\n     \n     ```bash\n     make run\n     ```\n   - 编译打包\n     \n     ```bash\n     make build\n     ```\n3. 流程图\n![流程图](docs/流程图.png)\n\n4. 子文档\n   - [config](docs/config.md)\n   - [deliver-uncheck-migrator](docs/deliver_uncheck_migrator.md)\n   - [operate-record-migrator](docs/operate_record_migrator.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamtyn%2Fat-migrator-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamtyn%2Fat-migrator-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamtyn%2Fat-migrator-tool/lists"}