lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
9.04k stars 909 forks source link

[docs] Add example of multiple parallel listeners #1135

Open mecampbellsoup opened 1 year ago

mecampbellsoup commented 1 year ago

Hello guys! New to the project and golang to some extent.

I found the existing listen example very helpful. I wanted to ask if you would consider adding an example that is more like "real life" in which an application is listening to multiple distinct channels, and how one might go about writing the supporting Go code in a way that is idiomatic and "correct" 😅

johto commented 11 months ago

Is my answer in #1139 helpful?