coder / coder/internal

Add `dbfake.JobBuilder`

Open
#1,344 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Idea from @mafredri :

> Just for completeness, I'm going to document one last idea that came to my mind. Do with it what you will 😄:

```go
dbfake.JobBuilder().CreatedAt(ts).Error("foo").Do()
```

_Originally posted by @mafredri in https://github.com/coder/coder/pull/21944#pullrequestreview-3761870256_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.