di

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Config *config.Config

	Cache struct {
		CLI *cli.App
	}
}

func NewContainer

func NewContainer(c *config.Config) (*Container, error)

func (*Container) InjectCli

func (c *Container) InjectCli() (*cli.App, error)

func (*Container) InjectGithub

func (c *Container) InjectGithub(ctx context.Context) (github.Client, error)

func (*Container) InjectHTTPClient

func (c *Container) InjectHTTPClient(ctx context.Context) (*http.Client, error)

Jump to

Keyboard shortcuts

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