We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecfc352 commit c94e211Copy full SHA for c94e211
internal/conventional/commit.go
@@ -1,11 +1,18 @@
1
package conventional
2
3
type (
4
+ // Commit represents the components of a Conventional Commit message.
5
+ // See https://www.conventionalcommits.org/ for the specification.
6
Commit struct {
- Type string
- Scope string
7
- Title string
8
- Body string
+ // Type describes the kind of change (e.g., "feat", "fix", "docs").
+ Type string
9
10
+ Scope string
11
+ // Title is a short description of the change.
12
+ Title string
13
+ // Body is an optional longer description.
14
+ Body string
15
+ // Footer is optional metadata (e.g., "BREAKING CHANGE:", issue refs).
16
Footer string
17
}
18
)
0 commit comments