mirror of
https://github.com/taigrr/gico.git
synced 2026-04-02 03:09:07 -07:00
19 lines
286 B
Go
19 lines
286 B
Go
package types
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
func NewDataSet() DataSet {
|
|
return make(DataSet)
|
|
}
|
|
|
|
func NewCommit(Author, Message, Repo, Path string, LOC int) Commit {
|
|
ci := Commit{
|
|
Message: Message,
|
|
Author: Author, LOC: LOC, TimeStamp: time.Now(),
|
|
Repo: Repo, Path: Path,
|
|
}
|
|
return ci
|
|
}
|