Documentation
¶
Index ¶
- Variables
- func ConnectDatabase() error
- func CreateTable(tableName string, data interface{}) error
- func Delete(tableName string, conditions map[string]interface{}) error
- func Insert(tableName string, data interface{}) error
- func Read(tableName string, conditions map[string]interface{}, result interface{}) error
- func ReadAll(tableName string, result interface{}) error
- func Update(tableName string, data map[string]interface{}, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
Functions ¶
func ConnectDatabase ¶
func ConnectDatabase() error
func CreateTable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.