Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
Db Database
Giphy GiphyAdapter
}
Container Define the main container for the application
type Database ¶
type Database interface {
Close()
Connect(dbFile string) error
Exec(sql string, args ...interface{}) (sql.Result, error)
Query(sql string, args ...interface{}) (rows.Rows, error)
}
Database Define same interface as database
type GiphyAdapter ¶
GiphyAdapter Interface for API
Click to show internal directories.
Click to hide internal directories.