New -
(uri string, opts ...Option)
| 53 | |
| 54 | // New - |
| 55 | func New(uri string, opts ...Option) (*Postgres, error) { |
| 56 | return newDB(uri, uri, opts...) |
| 57 | } |
| 58 | |
| 59 | // NewWithSeparateURIs - |
| 60 | func NewWithSeparateURIs(writerUri, readerUri string, opts ...Option) (*Postgres, error) { |