insight

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Config     config.Config
	Logger     hclog.Logger
	Gpt        gpt.Gpt
	Repo       repo.Repo
	Review     review.Review
	BuildSight sights.BuildSight
	CodeSight  sights.CodeSight
	GptSight   sights.GptSight
	Report     report.Report
}

func DefaultConfig

func DefaultConfig() *Config

type Insight

type Insight interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context) error
}

func New

func New(_ context.Context, cfg *Config) Insight

Jump to

Keyboard shortcuts

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