mysql

package
v0.0.0-...-e1c34d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLPresenterRepository

type MySQLPresenterRepository struct {
	DBConn *sql.DB
}

func NewMySQLPresenterRepository

func NewMySQLPresenterRepository(dbConn *sql.DB) *MySQLPresenterRepository

func (*MySQLPresenterRepository) FetchAllPresenters

func (m *MySQLPresenterRepository) FetchAllPresenters() ([]*presenter.Presenter, error)

func (*MySQLPresenterRepository) GetPresenter

func (m *MySQLPresenterRepository) GetPresenter(presenterID int64) (*presenter.Presenter, error)

func (*MySQLPresenterRepository) StorePresenter

func (m *MySQLPresenterRepository) StorePresenter(p *presenter.Presenter) error

Jump to

Keyboard shortcuts

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