docs: update package comments for clarity
All checks were successful
Go CI / lint (pull_request) Successful in 11s
Lint Pull Request / Lint PR Title (pull_request) Successful in 10s

This commit is contained in:
Jan K9f 2025-04-09 19:39:56 +02:00
parent 79e4f6c2bf
commit f0839e48e1
Signed by: jank
GPG key ID: B9F475106B20F144
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,4 @@
// Package validation General validation tasks
package validation
import (
@ -6,6 +7,7 @@ import (
"strings"
)
// ValidateConventionalCommit validates if string follows conventional commit
func ValidateConventionalCommit(commit string) error {
// Regex to match the commit format
// type(scope)!: description