MCPcopy Create free account
hub / github.com/go-dev-frame/sponge / userExampleDao

Struct userExampleDao

internal/dao/userExample.go:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type userExampleDao struct {
35 db *gorm.DB
36 cache cache.UserExampleCache // if nil, the cache is not used.
37 sfg *singleflight.Group // if cache is nil, the sfg is not used.
38}
39
40// NewUserExampleDao creating the dao interface
41func NewUserExampleDao(db *gorm.DB, xCache cache.UserExampleCache) UserExampleDao {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected