Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRow ¶
DeleteRow deletes one row in the sorted_commits table by special commit_id (foreign key to commits table) this will only be used to delete bot user activity once detected
func ResetAllRecords ¶
func ResetAllRecords() error
ResetAllRecords this function would be called to reset the sorted_commits table for reorganization First deletes all rows in the table and then resets the auto_increment counter for the id column
func SetNewRecord ¶
func SetNewRecord(c SortedCommit) error
SetNewRecord inserts one new record into the table
Types ¶
Click to show internal directories.
Click to hide internal directories.