github.com/jackc/pgx/v5/pgtype.Date.MarshalJSON (method, view implemented interface methods)
one use
github.com/jackc/pgx/v5/pgtype (current package)
date.go#L75: func (src Date) MarshalJSON() ([]byte, error) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)