deps

package
v0.0.0-...-f0049f5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 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 Deps

type Deps struct {
	Dir     string
	DB      *gorm.DB
	Config  config.AppConfig
	Session *session.SessionManager
	AI      *openai.Client
}

type DepsFactory

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

DepsFactory provides methods to create dependencies

func NewDepsFactory

func NewDepsFactory(config config.AppConfig) *DepsFactory

NewDepsFactory creates a new dependency factory

func (*DepsFactory) CreateDeps

func (f *DepsFactory) CreateDeps() Deps

CreateDeps creates a new Deps instance with the provided database

Jump to

Keyboard shortcuts

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