Versions in this module Expand all Collapse all v0 v0.3.1 Jun 13, 2023 Changes in this version + type CommitEntry struct + AuthorEmail string + AuthorName string + Message string + RepoName string + SHA string + UserName string + type Database interface + Connect func() error + Insert func(CommitEntry) + type DatabaseHandler struct + Db Database + func NewDatabaseHandler(db Database) *DatabaseHandler + func (dh *DatabaseHandler) Callback(commits []commit.CommitEvent) + type Mysql struct + Dsn string + func (d *Mysql) Connect() error + func (d *Mysql) Insert(c CommitEntry) + type Postgres struct + Dsn string + func (d *Postgres) Connect() error + func (d *Postgres) Insert(c CommitEntry) + type Sqlite struct + SqLiteDB string + func (d *Sqlite) BatchInsert(c CommitEntry) + func (d *Sqlite) Connect() error + func (d *Sqlite) Insert(c CommitEntry)