foobar

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Set = wire.NewSet(
	ProvideFoo,
	ProvideBar,
	wire.Struct(new(FooBar), "MyFoo", "MyBar"))

FooBarのMyFoo, MyBarフィールドの値をProvideFoo,ProvideBarの値に代入するように指定する。 wire.Struct(new(FooBar), "*")でも同じ

Functions

This section is empty.

Types

type Bar

type Bar int

func ProvideBar

func ProvideBar() Bar

type Foo

type Foo int

func ProvideFoo

func ProvideFoo() Foo

type FooBar

type FooBar struct {
	MyFoo Foo
	MyBar Bar
}

Jump to

Keyboard shortcuts

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