(ctx context.Context, id int)
| 352 | } |
| 353 | |
| 354 | func (c *userClient) GetByID(ctx context.Context, id int) (*ent.User, error) { |
| 355 | return withUserEagerLoading(ctx, c.client.User.Query().Where(user.ID(id))).First(ctx) |
| 356 | } |
| 357 | |
| 358 | func (c *userClient) GetActiveByID(ctx context.Context, id int) (*ent.User, error) { |
| 359 | return withUserEagerLoading( |
nothing calls this directly
no test coverage detected