gateway

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NormalMessagePrompt = "Generate up to 5 commit messages for [%s]. Each message should be separated by only space"
)

Variables

View Source
var CommitMessageRegex = regexp.MustCompile(`^(\d.\s+)|^(-\s+)|^(\s+)`)

Functions

func NewClientCommitMessageGateway added in v0.5.0

func NewClientCommitMessageGateway(nlp service.NLPService) service.CommitMessageService

func NewGrpcServerGateway added in v0.5.0

func NewGrpcServerGateway() service.CommitMessageService

func NewInputOutputGateway added in v0.5.0

func NewInputOutputGateway() service.GithubService

func NewOpenAIGateway

func NewOpenAIGateway(ctx context.Context) service.NLPService

Types

This section is empty.

Jump to

Keyboard shortcuts

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