Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-gorm/gorm
/ getInstance
Method
getInstance
generics.go:238–241 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
236
}
237
238
func
(c chainG[T]) getInstance() *DB {
239
var
r T
240
return
c.g.apply(context.Background()).Model(r).getInstance()
241
}
242
243
func
(c chainG[T]) with(v op) chainG[T] {
244
return
chainG[T]{
Callers
4
Build
Method · 0.95
apply
Method · 0.45
Joins
Method · 0.45
Preload
Method · 0.45
Calls
2
Model
Method · 0.80
apply
Method · 0.80
Tested by
no test coverage detected