services

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitService

type CommitService struct {
	// contains filtered or unexported fields
}

func NewCommitService

func NewCommitService(git ports.GitService, ai ports.CommitSummarizer, ticketManager ports.TickerManager, cfg *config.Config, trans *i18n.Translations) *CommitService

func (*CommitService) GenerateSuggestions

func (s *CommitService) GenerateSuggestions(ctx context.Context, count int) ([]models.CommitSuggestion, error)

type PRService added in v1.2.0

type PRService struct {
	// contains filtered or unexported fields
}

func NewPRService added in v1.2.0

func NewPRService(vcsClient ports.VCSClient, aiService ports.PRSummarizer, trans *i18n.Translations) *PRService

func (*PRService) SummarizePR added in v1.2.0

func (s *PRService) SummarizePR(ctx context.Context, prNumber int) (models.PRSummary, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL