Documentation
¶
Index ¶
- Constants
- func CheckRepository() error
- func Commit(message string, noVerify bool) error
- func ExtractJiraIssue(branchName string) string
- func FormatCommitMessage(message string) (string, error)
- func GetCurrentBranch() (string, error)
- func GetLastCommitMessage() (string, error)
- func GetStagedDiff() (string, error)
- func GetStagedFiles() ([]string, error)
Constants ¶
View Source
const (
// MaxDiffSize는 AI에게 전달할 최대 diff 크기 (약 10KB, ~2500 토큰)
MaxDiffSize = 10000
)
Variables ¶
This section is empty.
Functions ¶
func ExtractJiraIssue ¶
ExtractJiraIssue extracts JIRA issue key from branch name Pattern: PROJECT-123, ABC-456, DEVOPS2-430, etc.
func FormatCommitMessage ¶
FormatCommitMessage automatically detects and adds JIRA issue key if present in branch name No configuration needed - works automatically based on branch name pattern
func GetCurrentBranch ¶
GetCurrentBranch returns the current git branch name
func GetLastCommitMessage ¶
GetLastCommitMessage는 마지막 커밋 메시지를 반환합니다
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.