postgres

package
v0.0.0-...-be8e6cd Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresStore

type PostgresStore struct {
	DB *sqlx.DB
}

func (*PostgresStore) CreateContact

func (s *PostgresStore) CreateContact(c *store.Contact) error

func (*PostgresStore) CreateSchemas

func (s *PostgresStore) CreateSchemas() error

func (*PostgresStore) DeleteContact

func (s *PostgresStore) DeleteContact(id string) error

func (*PostgresStore) FetchContacts

func (s *PostgresStore) FetchContacts() (store.Contacts, error)

func (*PostgresStore) GetContact

func (s *PostgresStore) GetContact(id string) (*store.Contact, error)

func (*PostgresStore) UpdateContact

func (s *PostgresStore) UpdateContact(c *store.Contact) error

Jump to

Keyboard shortcuts

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