Get returns a WorkflowContract entity by its id.
(ctx context.Context, id uuid.UUID)
| 3539 | |
| 3540 | // Get returns a WorkflowContract entity by its id. |
| 3541 | func (c *WorkflowContractClient) Get(ctx context.Context, id uuid.UUID) (*WorkflowContract, error) { |
| 3542 | return c.Query().Where(workflowcontract.ID(id)).Only(ctx) |
| 3543 | } |
| 3544 | |
| 3545 | // GetX is like Get, but panics if an error occurs. |
| 3546 | func (c *WorkflowContractClient) GetX(ctx context.Context, id uuid.UUID) *WorkflowContract { |