Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MaxLineChar defines the maximum number of characters in line content
MaxLineChar = 100
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finding ¶
type Finding struct { ID string FilePath string Action string Description string Comment string RepositoryOwner string RepositoryName string CommitHash string CommitMessage string CommitAuthor string FileURL string Line uint64 LineContent string CommitURL string RepositoryURL string IsTestContext bool }
Finding holds the info for scan finding
func (*Finding) GenerateHashID ¶
GenerateHashID generates an unique hash
func (*Finding) TruncateLineContent ¶
TruncateLineContent truncates line content
Click to show internal directories.
Click to hide internal directories.