gorm.io/gorm.DB.AddError
third-partyThe 5076th most-called third-party method by production calls. Called 118 times across 1 modules; 118 of those run outside tests and generated code.
3% in production calls vs 2026-W37 (122 → 118)
- prod calls
- 118
- non-test, non-generated
- all calls
- 118
- total callsites
- modules
- 1
- distinct callers
- in loop
- 37%
- of prod calls
- in tests
- 0%
- 0 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method82%A method on a value whose type is known exactly.
- Embedded method18%Reached through an embedded type.
where it's called
Callsites in the wild
12 representative callsites of 118, prioritizing in-loop and non-test usage. We link to source, never display it.
-
gorm.io/gorm @v1.31.2
callbacks/callmethod.go:19
in loop -
gorm.io/gorm @v1.31.2
callbacks/update.go:24
in loop -
gorm.io/gorm @v1.31.2
callbacks/associations.go:28
in loop -
gorm.io/gorm @v1.31.2
callbacks/delete.go:75
in loop -
gorm.io/gorm @v1.31.2
scan.go:76
in loop -
gorm.io/gorm @v1.31.2
callbacks/delete.go:104
in loop -
gorm.io/gorm @v1.31.2
scan.go:106
in loop -
gorm.io/gorm @v1.31.2
chainable_api.go:126
in loop -
gorm.io/gorm @v1.31.2
callbacks/associations.go:147
in loop -
gorm.io/gorm @v1.31.2
callbacks/associations.go:149
in loop -
gorm.io/gorm @v1.31.2
scan.go:173
in loop -
gorm.io/gorm @v1.31.2
callbacks/associations.go:177
in loop
top callers
The modules that reach for it
The modules that call DB.AddError most in this snapshot.
- gorm.io/gorm118100%
siblings
More from gorm.io/gorm
The other most-called members in this package. See all →