foobarbaz

package
v0.0.0-...-efaf3d2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

FooBarBazようにwire setを作成する

Functions

This section is empty.

Types

type Bar

type Bar struct {
	X int
}

func ProvideBar

func ProvideBar(foo Foo) Bar

ProvideBar returns a Bar: a negative Foo.

type Baz

type Baz struct {
	X int
}

func ProvideBaz

func ProvideBaz(ctx context.Context, bar Bar) (Baz, error)

ProvideBaz returns a value if Bar is not zero.

type Foo

type Foo struct {
	X int
}

func ProvideFoo

func ProvideFoo() Foo

ProvideFoo returns a Foo

Jump to

Keyboard shortcuts

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