Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
Init accepts authentication parameters for a mysql db and creates a client This function may also be configured to create tables in the db on behalf of the application for setup purposes.
func ResetAllRecords ¶
func ResetAllRecords() error
ResetAllRecords this function would be called to reset the mysqlpunch table First deletes all rows in the table and then resets the auto_increment counter for the id column
func SetNewRecord ¶
SetNewRecord inserts one new record into the table
Types ¶
Click to show internal directories.
Click to hide internal directories.