Documentation ¶
Index ¶
- func ChannelToSlice[t any](channel <-chan t) []t
- func GetIssueKey(ruleId string, path string, startLine int, endLine int, startCol int, ...) string
- func Hash(content []byte) string
- func Ignored(gitIgnore *ignore.GitIgnore, path string) bool
- func Max[T ordered](values ...T) T
- func Min[T ordered](values ...T) T
- func Result[t any](value t, _ error) t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelToSlice ¶
func ChannelToSlice[t any](channel <-chan t) []t
channelToSlice converts a channel to a slice by reading all values from the channel.
func GetIssueKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.