• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-xlan / go-migrate / 20164330975

12 Dec 2025 10:45AM UTC coverage: 13.685%. First build
20164330975

push

github

yangyile1990
Add MigrationParam with unified resource management and status inspection

- Add newmigrate/migration_param.go with lazy initialization and singleton pattern
- Add migrationstate package with database version, pending migrations and schema diff inspection
- Update cobramigration to use MigrationParam with GetMigration()/cleanup pattern
- Update newscripts to use MigrationParam with GetDB()/GetMigration() returning (resource, cleanup)
- Update previewmigrate to use new cleanup pattern
- Update demo1x and demo2x with MigrationParam usage
- Add English/Chinese comments

- Add SVG architecture diagrams (go-migrate-overview.svg, go-migrate-workflow.svg)
- Add GitHub Actions workflow with Go 1.24+ support
- Update README documentation with new API examples
- Update dependencies in go.mod/go.sum

- Add migration_param_test.go

0 of 271 new or added lines in 9 files covered. (0.0%)

140 of 1023 relevant lines covered (13.69%)

4.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/newscripts/create_script.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc