models

package
v1.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitInfo

type CommitInfo struct {
	Hash              string
	URL               string
	AuthorName        string
	AuthorEmail       string
	AuthorDate        time.Time
	CommitterName     string
	CommitterEmail    string
	CommitterDate     time.Time
	Message           string
	Secrets           []string
	Links             []string
	IsOwnRepo         bool
	IsFork            bool
	RepoName          string
	TimestampAnalysis *TimestampAnalysis
}

type EmailDetails

type EmailDetails struct {
	Names          map[string]struct{}
	Commits        map[string][]CommitInfo
	CommitCount    int
	IsUserEmail    bool
	GithubUsername string
}

type TimestampAnalysis

type TimestampAnalysis struct {
	IsUnusualHour  bool
	IsWeekend      bool
	HourOfDay      int
	DayOfWeek      time.Weekday
	IsNightOwl     bool
	IsEarlyBird    bool
	TimeZoneHint   string
	CommitTimezone string
	LocalHourOfDay int
	UTCTime        time.Time
	LocalTime      time.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL