NewWithSeparateURIs -
(writerUri, readerUri string, opts ...Option)
| 58 | |
| 59 | // NewWithSeparateURIs - |
| 60 | func NewWithSeparateURIs(writerUri, readerUri string, opts ...Option) (*Postgres, error) { |
| 61 | return newDB(writerUri, readerUri, opts...) |
| 62 | } |
| 63 | |
| 64 | // new - Creates new postgresql db instance |
| 65 | func newDB(writerUri, readerUri string, opts ...Option) (*Postgres, error) { |