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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLFeedbackRepository

type MySQLFeedbackRepository struct {
	DBConn *sql.DB
}

MySQLFeedbackRepository ...

func NewMySQLFeedbackRepository

func NewMySQLFeedbackRepository(dbConn *sql.DB) *MySQLFeedbackRepository

func (*MySQLFeedbackRepository) FetchAllFeedbackFields

func (m *MySQLFeedbackRepository) FetchAllFeedbackFields() ([]*feedback.Field, error)

FetchAllFeedbackFields ...

func (*MySQLFeedbackRepository) FetchFacilitatorFeedbacks

func (m *MySQLFeedbackRepository) FetchFacilitatorFeedbacks(facilitatorID int64, c *class.Class) ([]*feedback.FacilitatorFeedback, error)

FetchFacilitatorFeedbacks ...

func (*MySQLFeedbackRepository) FetchPresenterFeedbacks

func (m *MySQLFeedbackRepository) FetchPresenterFeedbacks(presenterID int64, c *class.Class, s *class.Session) ([]*feedback.PresenterFeedback, error)

FetchPresenterFeedbacks ...

func (*MySQLFeedbackRepository) StorePresenterFeedbacks

func (m *MySQLFeedbackRepository) StorePresenterFeedbacks(feedbacks []*feedback.PresenterFeedback) error

StorePresenterFeedbacks ...

Jump to

Keyboard shortcuts

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