Skip to content

Drop lib/pq use in job listing - #337

Merged
brandur merged 1 commit into
masterfrom
brandur-drop-lib-pq
May 4, 2024
Merged

Drop lib/pq use in job listing#337
brandur merged 1 commit into
masterfrom
brandur-drop-lib-pq

Conversation

@brandur

@brandur brandur commented May 4, 2024

Copy link
Copy Markdown
Contributor

I missed this before, but while working on something else I noticed
randomly that apparently we use lib/pq in the job list module to
encode an array of job states.

I think it was an oversight to have brought this in as a hard
dependency, so here remove the use of pg.Array in favor of just using
a normal Go slice instead.

I missed this before, but while working on something else I noticed
randomly that apparently we use `lib/pq` in the job list module to
encode an array of job states.

I think it was an oversight to have brought this in as a hard
dependency, so here remove the use of `pg.Array` in favor of just using
a normal Go slice instead.
@brandur
brandur force-pushed the brandur-drop-lib-pq branch from fa283f2 to 517a887 Compare May 4, 2024 19:51

@bgentry bgentry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How the heck did this sneak in?? My bad I think …

@brandur

brandur commented May 4, 2024

Copy link
Copy Markdown
Contributor Author

Hah, yeah I was surprised to see it too!

Thanks.

@brandur
brandur merged commit 30a97ff into master May 4, 2024
@brandur
brandur deleted the brandur-drop-lib-pq branch May 4, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants