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

yylego / gormrepo / 41683210844
54%
main: 56%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.7
DEFAULT BRANCH: main
Ran 03 Nov 2026 05:21PM UTC
Jobs 2
Files 52
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

03 Nov 2026 05:13PM UTC coverage: 54.308% (+6.7%) from 47.633%
41683210844

push

github

yyle88
Rework gormrepo names, tests and examples

- Make FindN and FindC take the ordering as a required param, and check the Pagination in FindPage / FindPageAndCount
- Rename Mold to Modeled, NewOrderScope to NewOrderingScope and gormtablerepo.TableRepo to gormtablerepo.Repo
- Rename the gormclass constraints to ColumnsInterface, ColumnsWithTableNameInterface, TableColumnsInterface and TableColumnsWithTableNameInterface
- Drop NewWhereScope and gormclass.GormTable, since GORM has the same table-name interface
- Note the roles of GormRepo and GormWrap in the doc comments, fix the warp file names
- Give each exported function a test with assertions, in the same sequence as the source
- Rewrite the examples with inline callbacks, and move the test types into the models packages
- Use gormcnm v0.0.2 and gormcngen v0.0.3, align .gitignore and README with the templates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

120 of 333 new or added lines in 42 files covered. (36.04%)

1 existing line in 1 file now uncovered.

353 of 650 relevant lines covered (54.31%)

6.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
0.0
internal/examples/example09/internal/models/models.gen.go
17
0.0
internal/examples/example08/internal/models/models.gen.go
13
0.0
gormjoin/internal/models/result.gen.go
13
0.0
internal/examples/example09/internal/models/result.gen.go
12
0.0
internal/models/models.gen.go
10
0.0
gormjoin/internal/models/models.gen.go
10
0.0
internal/examples/example02/internal/models/models.gen.go
9
0.0
internal/examples/example03/internal/models/models.gen.go
9
0.0
internal/examples/example04/internal/models/models.gen.go
9
0.0
internal/examples/example05/internal/models/models.gen.go
9
0.0
internal/examples/example06/internal/models/models.gen.go
9
0.0
internal/examples/example07/internal/models/models.gen.go
8
0.0
gormclass/internal/models/models.gen.go
8
0.0
gormclasscache/internal/models/models.gen.go
8
0.0
gormtablerepo/internal/models/models.gen.go
8
0.0
internal/examples/example01/internal/models/models.gen.go
8
0.0
internal/examples/example07/internal/models/result.gen.go
6
68.75
4.12% gorm_repo.go
6
0.0
internal/examples/example10/internal/models/models.gen.go
5
0.0
gormtablerepo/internal/models/result.gen.go
5
0.0
internal/examples/example10/internal/models/result.gen.go
5
0.0
internal/models/result.gen.go
2
89.47
49.47% scopes.go

Coverage Regressions

Lines Coverage ∆ File
1
68.75
4.12% gorm_repo.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.27.x - 41683210844.1 03 Nov 2026 05:21PM UTC 52
54.31
GitHub Action Run
2 Go-stable - 41683210844.2 03 Nov 2026 05:21PM UTC 52
54.31
GitHub Action Run
Source Files on build 41683210844
  • Tree
  • List 52
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b4819c60 on github
  • Prev Build on main (#39698366516)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc