Open imraan-go opened 2 years ago
You can try https://pkg.go.dev/github.com/jackc/pgtype#Daterange or write something yourself using https://bun.uptrace.dev/guide/custom-types.html#driver-valuer
This issue has been automatically marked as stale because it has not had activity in the last 30 days. If there is no update within the next 7 days, this issue will be closed.
There is now Range type in pgdialect.
How to make model for range types of postgresql?
https://www.postgresql.org/docs/14/rangetypes.html