utils

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(
	bitbucketServiceGetter bitbucketServiceGetter,
	consoleServiceGetter consoleServiceGetter,
	gitServiceGetter gitServiceGetter) *factoryImpl

Types

type Container

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

func NewContainer

func NewContainer() *Container

func (*Container) Get

func (receiver *Container) Get(key interface{}) interface{}

func (*Container) Provide

func (receiver *Container) Provide(key interface{}, provider Provider)

type Factory

type Factory interface {
	BitbucketService() bitbucket.Servicer
	ConsoleService() *interactive.ConsoleService
	GitService() *git.Service
}

type Provider

type Provider func() interface{}

Jump to

Keyboard shortcuts

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