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

go-xlan / go-migrate / 20164334623
14%
main: 14%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.23
DEFAULT BRANCH: main
Ran 12 Dec 2025 10:48AM UTC
Jobs 3
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

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

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

New Missed Lines in Diff

Lines Coverage ∆ File
4
0.0
newscripts/results.go
5
0.0
newscripts/create_script.go
9
0.0
previewmigrate/preview_migrate.go
19
0.0
cobramigration/cobra_migration.go
21
0.0
newscripts/cobra_script.go
31
0.0
newmigrate/migration_param.go
36
0.0
internal/demos/demo1x/main.go
36
0.0
internal/demos/demo2x/main.go
110
0.0
migrationstate/migration_state.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.24.x - 20164334623.1 12 Dec 2025 10:48AM UTC 20
13.69
GitHub Action Run
2 Go-1.25.x - 20164334623.2 12 Dec 2025 10:48AM UTC 20
13.69
GitHub Action Run
3 Go-stable - 20164334623.3 12 Dec 2025 10:48AM UTC 20
13.69
GitHub Action Run
Source Files on build 20164334623
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4127af96 on github
  • Delete
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