service

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitMessageService added in v0.5.0

type CommitMessageService interface {
	GenerateCommitMessageList(code string, config entity.Config) ([]string, error)
}

type GetRepoDetailsResponse added in v0.5.2

type GetRepoDetailsResponse struct {
	Owner string
	Repo  string
}

type GithubService added in v0.5.0

type GithubService interface {
	GetStagingCodeDiff() (string, error)
	GetCurrentRepoDetails() (*GetRepoDetailsResponse, error)
	CreatePullRequest(pr *entity.PullRequest, token string) error
	GetCurrentBranch() (string, error)
	GetUnPushedCommits(base string) ([]string, error)
	GetRecentUpdatedBranch() ([]string, error)
	PushCurrentBranch() error
}

type NLPService added in v0.5.0

type NLPService interface {
	GetAnswerFromPrompt(prompt string) (string, error)
}

Jump to

Keyboard shortcuts

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