Documentation ¶
Index ¶
- func CloseDB(db *sql.DB)
- func CreateTable(db *sql.DB, query string)
- func GetAllDataInTable(db *sql.DB, query string) *sql.Rows
- func InsertTable(db *sql.DB, query string, args ...interface{})
- func OpenConnectionWithDatabase(driverDB, fileDB string) *sql.DB
- func PrintRowsInConsole(data *sql.Rows, game *entity.Game)
- func RemoveDB(pathFile string)
- func RemoveData(db *sql.DB, query string, args ...interface{})
- func UpdateData(db *sql.DB, query string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
func InsertTable ¶
func RemoveData ¶
func UpdateData ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.