postgresql

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 9 Imported by: 0

README

Postgresql Data source

Usage
go get github.com/SharkFourSix/dsync/sources/postgresql
import "github.com/SharkFourSix/dsync/sources/postgresql"

dsn := "postgresql://user:password@host/database"

pgds, err := postgresql.New(dsn, &dsync.Config{ ... })
if err != nill {
    panic(err)
}

migrator.Migrate(pgds)
SQL Driver

https://github.com/lib/pq

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string, cfg *dsync.Config) (dsync.DataSource, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL