Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRow ¶
DeleteRow deletes one row in the users table by ID this will only be used to delete bot user activity once detected
func SetNewRecord ¶
SetNewRecord inserts one new record into the table
func UpdateFirstCommitByUsername ¶
UpdateFirstCommitByUsername accepts a username and time object and updates the matching row's first_commit column to the timestamp
Types ¶
type User ¶
User represents all columns in one user entry in the users table
func GetBotUserRows ¶
GetBotUserRows gets a slice of rows matching possible bot matchers
func GetRowsByUsername ¶
GetRowsByUsername gets a slice of rows matching a username
Click to show internal directories.
Click to hide internal directories.