Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresDAO ¶
type PostgresDAO interface {
GetRandomQuoteByCategory(category string) (quote model.QuoteResponse, err error)
InsertQuote(body string, author string, categories []string) error
UpsertQuoteList(quotes []model.QuoteResponse) error
}
func NewPosgtresDao ¶
func NewPosgtresDao() (PostgresDAO, error)
Click to show internal directories.
Click to hide internal directories.