Documentation ¶
Index ¶
Constants ¶
View Source
const ( INSERT_COMMAND_SQL = "INSERT INTO commands (key, text) VALUES (?, ?)" SELECT_COMMAND_SQL = "SELECT key, text from commands WHERE key = ?" LIST_COMMAND_SQL = "SELECT key from commands WHERE key like ?" )
Variables ¶
This section is empty.
Functions ¶
func NewCommandRepository ¶
func NewCommandRepository(db *sql.DB) domain.CommandRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.