giga

package
v0.0.0-...-9959923 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewGigaClient

func NewGigaClient(ctx context.Context, clientId, clientSecret string) (*Client, error)

func (*Client) GetCommitMsg

func (c *Client) GetCommitMsg(diff string, locale string, maxLength int, debug bool) (string, error)

type IGigaClient

type IGigaClient interface {
	AuthWithContext(ctx context.Context) error
	ChatWithContext(ctx context.Context, in *gigachat.ChatRequest) (*gigachat.ChatResponse, error)
}

Directories

Path Synopsis
Package mock_giga is a generated GoMock package.
Package mock_giga is a generated GoMock package.

Jump to

Keyboard shortcuts

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