Versions in this module Expand all Collapse all v0 v0.0.6 May 21, 2022 v0.0.5 May 21, 2022 Changes in this version + type Option func(*Postgres) + func ConnAttempts(attempts int) Option + func ConnTimeout(timeout time.Duration) Option + func MaxPoolSize(size int) Option + type Postgres struct + Builder squirrel.StatementBuilderType + Pool *pgxpool.Pool + func New(url string, opts ...Option) (*Postgres, error) + func (p *Postgres) Close()