MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / GetByID

Method GetByID

internal/dao/userExample.go:26–26  ·  view source on GitHub ↗
(ctx context.Context, id uint64)

Source from the content-addressed store, hash-verified

24 DeleteByID(ctx context.Context, id uint64) error
25 UpdateByID(ctx context.Context, table *model.UserExample) error
26 GetByID(ctx context.Context, id uint64) (*model.UserExample, error)
27 GetByColumns(ctx context.Context, params *query.Params) ([]*model.UserExample, int64, error)
28
29 CreateByTx(ctx context.Context, tx *gorm.DB, table *model.UserExample) (uint64, error)

Callers 5

TestUserDao_GetByIDFunction · 0.65
GetByIDMethod · 0.65
GetByIDMethod · 0.65

Implementers 1

userExampleDaointernal/dao/userExample.go

Calls

no outgoing calls

Tested by 3

TestUserDao_GetByIDFunction · 0.52