SYMBOL INDEX (628 symbols across 198 files) FILE: _tutorial/main.go type Message (line 26) | type Message function NewMessage (line 29) | func NewMessage(phrase string) Message { function NewGreeter (line 35) | func NewGreeter(m Message) Greeter { type Greeter (line 44) | type Greeter struct method Greet (line 50) | func (g Greeter) Greet() Message { function NewEvent (line 58) | func NewEvent(g Greeter) (Event, error) { type Event (line 66) | type Event struct method Start (line 71) | func (e Event) Start() { function main (line 76) | func main() { FILE: _tutorial/wire.go function InitializeEvent (line 25) | func InitializeEvent(phrase string) (Event, error) { FILE: _tutorial/wire_gen.go function InitializeEvent (line 11) | func InitializeEvent(phrase string) (Event, error) { FILE: cmd/wire/main.go function main (line 40) | func main() { function packages (line 78) | func packages(f *flag.FlagSet) []string { function newGenerateOptions (line 88) | func newGenerateOptions(headerFile string) (*wire.GenerateOptions, error) { type genCmd (line 100) | type genCmd struct method Name (line 106) | func (*genCmd) Name() string { return "gen" } method Synopsis (line 107) | func (*genCmd) Synopsis() string { method Usage (line 110) | func (*genCmd) Usage() string { method SetFlags (line 118) | func (cmd *genCmd) SetFlags(f *flag.FlagSet) { method Execute (line 124) | func (cmd *genCmd) Execute(ctx context.Context, f *flag.FlagSet, args ... type diffCmd (line 173) | type diffCmd struct method Name (line 178) | func (*diffCmd) Name() string { return "diff" } method Synopsis (line 179) | func (*diffCmd) Synopsis() string { method Usage (line 182) | func (*diffCmd) Usage() string { method SetFlags (line 194) | func (cmd *diffCmd) SetFlags(f *flag.FlagSet) { method Execute (line 198) | func (cmd *diffCmd) Execute(ctx context.Context, f *flag.FlagSet, args... type showCmd (line 263) | type showCmd struct method Name (line 267) | func (*showCmd) Name() string { return "show" } method Synopsis (line 268) | func (*showCmd) Synopsis() string { method Usage (line 271) | func (*showCmd) Usage() string { method SetFlags (line 282) | func (cmd *showCmd) SetFlags(f *flag.FlagSet) { method Execute (line 285) | func (cmd *showCmd) Execute(ctx context.Context, f *flag.FlagSet, args... type checkCmd (line 355) | type checkCmd struct method Name (line 359) | func (*checkCmd) Name() string { return "check" } method Synopsis (line 360) | func (*checkCmd) Synopsis() string { method Usage (line 363) | func (*checkCmd) Usage() string { method SetFlags (line 372) | func (cmd *checkCmd) SetFlags(f *flag.FlagSet) { method Execute (line 375) | func (cmd *checkCmd) Execute(ctx context.Context, f *flag.FlagSet, arg... type outGroup (line 390) | type outGroup struct function gather (line 399) | func gather(info *wire.Info, key wire.ProviderSetID) (_ []outGroup, impo... function mergeTypeSets (line 570) | func mergeTypeSets(dst, src *typeutil.Map) { function sameTypeKeys (line 576) | func sameTypeKeys(a, b *typeutil.Map) bool { function sortSet (line 589) | func sortSet(set interface{}) []string { function formatProviderSetName (line 600) | func formatProviderSetName(importPath, varName string) string { function logErrors (line 605) | func logErrors(errs []error) { FILE: internal/wire/analyze.go type callKind (line 29) | type callKind constant funcProviderCall (line 32) | funcProviderCall callKind = iota constant structProvider (line 33) | structProvider constant valueExpr (line 34) | valueExpr constant selectorExpr (line 35) | selectorExpr type call (line 41) | type call struct function solve (line 95) | func solve(fset *token.FileSet, out types.Type, given *types.Tuple, set ... function verifyArgsUsed (line 260) | func verifyArgsUsed(set *ProviderSet, used []*providerSetSrc) []error { function buildProviderMap (line 332) | func buildProviderMap(fset *token.FileSet, hasher typeutil.Hasher, set *... function verifyAcyclic (line 432) | func verifyAcyclic(providerMap *typeutil.Map, hasher typeutil.Hasher) []... function bindingConflictError (line 512) | func bindingConflictError(fset *token.FileSet, typ types.Type, set *Prov... FILE: internal/wire/copyast.go function copyAST (line 29) | func copyAST(original ast.Node) ast.Node { function commentGroupFromMap (line 399) | func commentGroupFromMap(m map[ast.Node]ast.Node, key *ast.CommentGroup)... function exprFromMap (line 406) | func exprFromMap(m map[ast.Node]ast.Node, key ast.Expr) ast.Expr { function stmtFromMap (line 413) | func stmtFromMap(m map[ast.Node]ast.Node, key ast.Stmt) ast.Stmt { function identFromMap (line 420) | func identFromMap(m map[ast.Node]ast.Node, key *ast.Ident) *ast.Ident { function blockStmtFromMap (line 427) | func blockStmtFromMap(m map[ast.Node]ast.Node, key *ast.BlockStmt) *ast.... function fieldListFromMap (line 434) | func fieldListFromMap(m map[ast.Node]ast.Node, key *ast.FieldList) *ast.... function callExprFromMap (line 441) | func callExprFromMap(m map[ast.Node]ast.Node, key *ast.CallExpr) *ast.Ca... function basicLitFromMap (line 448) | func basicLitFromMap(m map[ast.Node]ast.Node, key *ast.BasicLit) *ast.Ba... function funcTypeFromMap (line 455) | func funcTypeFromMap(m map[ast.Node]ast.Node, key *ast.FuncType) *ast.Fu... function copyExprList (line 462) | func copyExprList(m map[ast.Node]ast.Node, exprs []ast.Expr) []ast.Expr { function copyStmtList (line 473) | func copyStmtList(m map[ast.Node]ast.Node, stmts []ast.Stmt) []ast.Stmt { function copyIdentList (line 484) | func copyIdentList(m map[ast.Node]ast.Node, idents []*ast.Ident) []*ast.... FILE: internal/wire/errors.go type errorCollector (line 22) | type errorCollector struct method add (line 27) | func (ec *errorCollector) add(errs ...error) { function mapErrors (line 36) | func mapErrors(errs []error, f func(error) error) []error { type wireErr (line 48) | type wireErr struct method Error (line 79) | func (w *wireErr) Error() string { function notePosition (line 60) | func notePosition(p token.Position, e error) error { function notePositionAll (line 72) | func notePositionAll(p token.Position, errs []error) []error { FILE: internal/wire/parse.go type providerSetSrc (line 36) | type providerSetSrc struct method description (line 46) | func (p *providerSetSrc) description(fset *token.FileSet, typ types.Ty... method trace (line 77) | func (p *providerSetSrc) trace(fset *token.FileSet, typ types.Type) []... type ProviderSet (line 91) | type ProviderSet struct method Outputs (line 120) | func (set *ProviderSet) Outputs() []types.Type { method For (line 125) | func (set *ProviderSet) For(t types.Type) ProvidedType { type IfaceBinding (line 135) | type IfaceBinding struct type Provider (line 148) | type Provider struct type ProviderInput (line 183) | type ProviderInput struct type Value (line 191) | type Value struct type InjectorArg (line 206) | type InjectorArg struct type InjectorArgs (line 214) | type InjectorArgs struct type Field (line 224) | type Field struct function Load (line 251) | func Load(ctx context.Context, wd string, env []string, tags string, pat... function load (line 352) | func load(ctx context.Context, wd string, env []string, tags string, pat... type Info (line 385) | type Info struct type ProviderSetID (line 397) | type ProviderSetID struct method String (line 403) | func (id ProviderSetID) String() string { type Injector (line 408) | type Injector struct method String (line 414) | func (in *Injector) String() string { type objectCache (line 419) | type objectCache struct method get (line 467) | func (oc *objectCache) get(obj types.Object) (val interface{}, errs []... method varDecl (line 503) | func (oc *objectCache) varDecl(obj *types.Var) *ast.ValueSpec { method processExpr (line 524) | func (oc *objectCache) processExpr(info *types.Info, pkgPath string, e... method processNewSet (line 593) | func (oc *objectCache) processNewSet(info *types.Info, pkgPath string,... type objRef (line 426) | type objRef struct type objCacheEntry (line 431) | type objCacheEntry struct function newObjectCache (line 436) | func newObjectCache(pkgs []*packages.Package) *objectCache { function structArgType (line 640) | func structArgType(info *types.Info, expr ast.Expr) *types.TypeName { function qualifiedIdentObject (line 657) | func qualifiedIdentObject(info *types.Info, expr ast.Expr) types.Object { function processFuncProvider (line 676) | func processFuncProvider(fset *token.FileSet, fn *types.Func) (*Provider... function injectorFuncSignature (line 707) | func injectorFuncSignature(sig *types.Signature) (*types.Tuple, outputSi... type outputSignature (line 715) | type outputSignature struct function funcOutput (line 722) | func funcOutput(sig *types.Signature) (outputSignature, error) { function processStructLiteralProvider (line 762) | func processStructLiteralProvider(fset *token.FileSet, typeName *types.T... function processStructProvider (line 800) | func processStructProvider(fset *token.FileSet, info *types.Info, call *... function allFields (line 865) | func allFields(call *ast.CallExpr) bool { function isPrevented (line 879) | func isPrevented(tag string) bool { function processBind (line 884) | func processBind(fset *token.FileSet, info *types.Info, call *ast.CallEx... function processValue (line 930) | func processValue(fset *token.FileSet, info *types.Info, call *ast.CallE... function processInterfaceValue (line 975) | func processInterfaceValue(fset *token.FileSet, info *types.Info, call *... function processFieldsOf (line 1004) | func processFieldsOf(fset *token.FileSet, info *types.Info, call *ast.Ca... function checkField (line 1065) | func checkField(f ast.Expr, st *types.Struct) (*types.Var, error) { function findInjectorBuild (line 1083) | func findInjectorBuild(info *types.Info, fn *ast.FuncDecl) (*ast.CallExp... function isWireImport (line 1136) | func isWireImport(path string) bool { function isProviderSetType (line 1145) | func isProviderSetType(t types.Type) bool { type ProvidedType (line 1158) | type ProvidedType struct method IsNil (line 1168) | func (pt ProvidedType) IsNil() bool { method Type (line 1179) | func (pt ProvidedType) Type() types.Type { method IsProvider (line 1184) | func (pt ProvidedType) IsProvider() bool { method IsValue (line 1189) | func (pt ProvidedType) IsValue() bool { method IsArg (line 1194) | func (pt ProvidedType) IsArg() bool { method IsField (line 1199) | func (pt ProvidedType) IsField() bool { method Provider (line 1205) | func (pt ProvidedType) Provider() *Provider { method Value (line 1214) | func (pt ProvidedType) Value() *Value { method Arg (line 1223) | func (pt ProvidedType) Arg() *InjectorArg { method Field (line 1232) | func (pt ProvidedType) Field() *Field { function bindShouldUsePointer (line 1241) | func bindShouldUsePointer(info *types.Info, call *ast.CallExpr) bool { FILE: internal/wire/testdata/BindInjectorArg/foo/foo.go function main (line 21) | func main() { type Fooer (line 25) | type Fooer interface type Foo (line 29) | type Foo struct method Foo (line 33) | func (f Foo) Foo() string { type Bar (line 37) | type Bar struct function NewBar (line 41) | func NewBar(fooer Fooer) *Bar { FILE: internal/wire/testdata/BindInjectorArg/foo/wire.go function inject (line 23) | func inject(foo Foo) *Bar { FILE: internal/wire/testdata/BindInjectorArg/want/wire_gen.go function inject (line 11) | func inject(foo Foo) *Bar { FILE: internal/wire/testdata/BindInjectorArgPointer/foo/foo.go function main (line 21) | func main() { type Fooer (line 25) | type Fooer interface type Foo (line 29) | type Foo struct method Foo (line 33) | func (f *Foo) Foo() string { type Bar (line 37) | type Bar struct function NewBar (line 41) | func NewBar(fooer Fooer) *Bar { FILE: internal/wire/testdata/BindInjectorArgPointer/foo/wire.go function inject (line 23) | func inject(foo *Foo) *Bar { FILE: internal/wire/testdata/BindInjectorArgPointer/want/wire_gen.go function inject (line 11) | func inject(foo *Foo) *Bar { FILE: internal/wire/testdata/BindInterfaceWithValue/foo/foo.go function main (line 17) | func main() { FILE: internal/wire/testdata/BindInterfaceWithValue/foo/wire.go function inject (line 26) | func inject() io.Writer { FILE: internal/wire/testdata/BindInterfaceWithValue/want/wire_gen.go function inject (line 16) | func inject() io.Writer { FILE: internal/wire/testdata/BuildTagsAllPackages/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/BuildTagsAllPackages/foo/wire.go function injectedMessage (line 24) | func injectedMessage() string { FILE: internal/wire/testdata/BuildTagsAllPackages/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/Chain/foo/foo.go function main (line 23) | func main() { type Foo (line 27) | type Foo type FooBar (line 28) | type FooBar function provideFoo (line 34) | func provideFoo() Foo { function provideFooBar (line 38) | func provideFooBar(foo Foo) FooBar { FILE: internal/wire/testdata/Chain/foo/wire.go function injectFooBar (line 23) | func injectFooBar() FooBar { FILE: internal/wire/testdata/Chain/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar() FooBar { FILE: internal/wire/testdata/Cleanup/foo/foo.go function main (line 21) | func main() { type Foo (line 28) | type Foo type Bar (line 29) | type Bar function provideFoo (line 31) | func provideFoo() (*Foo, func()) { function provideBar (line 37) | func provideBar(foo *Foo) (*Bar, func()) { FILE: internal/wire/testdata/Cleanup/foo/wire.go function injectBar (line 23) | func injectBar() (*Bar, func()) { FILE: internal/wire/testdata/Cleanup/want/wire_gen.go function injectBar (line 11) | func injectBar() (*Bar, func()) { FILE: internal/wire/testdata/CopyOtherDecls/foo/foo.go function main (line 28) | func main() { function provideMessage (line 33) | func provideMessage() string { function injectedMessage (line 37) | func injectedMessage() string { FILE: internal/wire/testdata/CopyOtherDecls/want/wire_gen.go function injectedMessage (line 15) | func injectedMessage() string { function main (line 22) | func main() { function provideMessage (line 27) | func provideMessage() string { FILE: internal/wire/testdata/Cycle/foo/foo.go function main (line 19) | func main() { type Foo (line 23) | type Foo type Bar (line 24) | type Bar type Baz (line 25) | type Baz function provideFoo (line 27) | func provideFoo(_ Baz) Foo { function provideBar (line 31) | func provideBar(_ Foo) Bar { function provideBaz (line 35) | func provideBaz(_ Bar) Baz { FILE: internal/wire/testdata/Cycle/foo/wire.go function injectedBaz (line 23) | func injectedBaz() Baz { FILE: internal/wire/testdata/DocComment/foo/foo.go type Bar (line 22) | type Bar struct type Foo (line 23) | type Foo struct function main (line 26) | func main() { FILE: internal/wire/testdata/DocComment/foo/wire.go function blockComment (line 24) | func blockComment() *Foo { function lineComment (line 29) | func lineComment() *Bar { FILE: internal/wire/testdata/DocComment/want/wire_gen.go function blockComment (line 12) | func blockComment() *Foo { function lineComment (line 18) | func lineComment() *Bar { FILE: internal/wire/testdata/EmptyVar/foo/foo.go function main (line 21) | func main() { FILE: internal/wire/testdata/EmptyVar/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/ExampleWithMocks/foo/foo.go function main (line 26) | func main() { type timer (line 81) | type timer interface type realTime (line 86) | type realTime struct method Now (line 88) | func (realTime) Now() time.Time { return time.Now() } type mockTimer (line 91) | type mockTimer struct method Now (line 96) | func (m *mockTimer) Now() time.Time { return m.T } function newMockTimer (line 95) | func newMockTimer() *mockTimer { return &mockTimer{} } type greeter (line 99) | type greeter struct method Greet (line 103) | func (g greeter) Greet() string { type app (line 107) | type app struct method Greet (line 111) | func (a app) Greet() string { type appWithMocks (line 117) | type appWithMocks struct FILE: internal/wire/testdata/ExampleWithMocks/foo/wire.go function initApp (line 24) | func initApp() *app { function initMockedAppFromArgs (line 32) | func initMockedAppFromArgs(mt timer) *app { function initMockedApp (line 39) | func initMockedApp() *appWithMocks { FILE: internal/wire/testdata/ExampleWithMocks/want/wire_gen.go function initApp (line 12) | func initApp() *app { function initMockedAppFromArgs (line 30) | func initMockedAppFromArgs(mt timer) *app { function initMockedApp (line 42) | func initMockedApp() *appWithMocks { FILE: internal/wire/testdata/ExportedValue/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/ExportedValue/foo/wire.go function injectedMessage (line 24) | func injectedMessage() string { FILE: internal/wire/testdata/ExportedValue/want/wire_gen.go function injectedMessage (line 15) | func injectedMessage() string { FILE: internal/wire/testdata/ExportedValueDifferentPackage/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/ExportedValueDifferentPackage/foo/wire.go function injectedFile (line 26) | func injectedFile() *os.File { FILE: internal/wire/testdata/ExportedValueDifferentPackage/want/wire_gen.go function injectedFile (line 15) | func injectedFile() *os.File { FILE: internal/wire/testdata/FieldsOfCycle/foo/foo.go function main (line 21) | func main() { type Foo (line 25) | type Foo type Baz (line 26) | type Baz type Bar (line 28) | type Bar struct function provideFoo (line 32) | func provideFoo(_ Baz) Foo { function provideBar (line 36) | func provideBar(_ Foo) Bar { FILE: internal/wire/testdata/FieldsOfCycle/foo/wire.go function injectedBaz (line 23) | func injectedBaz() Baz { FILE: internal/wire/testdata/FieldsOfImportedStruct/bar/bar.go type Config (line 21) | type Config struct type Service (line 25) | type Service struct function New (line 30) | func New(cfg *Config, f *foo.Service) *Service { FILE: internal/wire/testdata/FieldsOfImportedStruct/baz/baz.go type Config (line 24) | type Config struct type Service (line 29) | type Service struct method String (line 34) | func (m *Service) String() string { FILE: internal/wire/testdata/FieldsOfImportedStruct/foo/foo.go type Config (line 17) | type Config struct type Service (line 21) | type Service struct function New (line 25) | func New(cfg *Config) *Service { FILE: internal/wire/testdata/FieldsOfImportedStruct/main/wire.go function newBazService (line 28) | func newBazService(*baz.Config) *baz.Service { function main (line 42) | func main() { FILE: internal/wire/testdata/FieldsOfImportedStruct/want/wire_gen.go function newBazService (line 18) | func newBazService(config *baz.Config) *baz.Service { function main (line 32) | func main() { FILE: internal/wire/testdata/FieldsOfStruct/foo/foo.go type S (line 19) | type S struct function provideS (line 23) | func provideS() S { function main (line 27) | func main() { FILE: internal/wire/testdata/FieldsOfStruct/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/FieldsOfStruct/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/FieldsOfStructDoNotProvidePtrToField/foo/foo.go type S (line 19) | type S struct function provideS (line 23) | func provideS() S { function main (line 27) | func main() { FILE: internal/wire/testdata/FieldsOfStructDoNotProvidePtrToField/foo/wire.go function injectedMessagePtr (line 23) | func injectedMessagePtr() *string { FILE: internal/wire/testdata/FieldsOfStructPointer/foo/foo.go type S (line 19) | type S struct function provideS (line 23) | func provideS() *S { function main (line 27) | func main() { FILE: internal/wire/testdata/FieldsOfStructPointer/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { function injectedMessagePtr (line 30) | func injectedMessagePtr() *string { FILE: internal/wire/testdata/FieldsOfStructPointer/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { function injectedMessagePtr (line 17) | func injectedMessagePtr() *string { FILE: internal/wire/testdata/FieldsOfValueStruct/bar/bar.go type Config (line 21) | type Config struct type Service (line 25) | type Service struct function New (line 30) | func New(cfg *Config, f *foo.Service) *Service { FILE: internal/wire/testdata/FieldsOfValueStruct/baz/baz.go type Config (line 24) | type Config struct type Service (line 29) | type Service struct method String (line 34) | func (m *Service) String() string { FILE: internal/wire/testdata/FieldsOfValueStruct/foo/foo.go type Config (line 17) | type Config struct type Service (line 21) | type Service struct function New (line 25) | func New(cfg *Config) *Service { FILE: internal/wire/testdata/FieldsOfValueStruct/main/wire.go function newBazService (line 28) | func newBazService() *baz.Service { function main (line 46) | func main() { FILE: internal/wire/testdata/FieldsOfValueStruct/want/wire_gen.go function newBazService (line 18) | func newBazService() *baz.Service { function main (line 40) | func main() { FILE: internal/wire/testdata/FuncArgProvider/foo/foo.go function main (line 21) | func main() { type Foo (line 26) | type Foo struct type Bar (line 30) | type Bar struct function NewBar (line 34) | func NewBar(f *Foo) *Bar { FILE: internal/wire/testdata/FuncArgProvider/foo/wire.go function injectBar (line 23) | func injectBar(fn func() *Foo) *Bar { FILE: internal/wire/testdata/Header/foo/foo.go function main (line 21) | func main() { type Foo (line 25) | type Foo function provideFoo (line 27) | func provideFoo() Foo { FILE: internal/wire/testdata/Header/foo/wire.go function injectFoo (line 23) | func injectFoo() Foo { FILE: internal/wire/testdata/Header/want/wire_gen.go function injectFoo (line 13) | func injectFoo() Foo { FILE: internal/wire/testdata/ImportedInterfaceBinding/bar/bar.go function main (line 24) | func main() { type Bar (line 28) | type Bar method Foo (line 30) | func (b *Bar) Foo() string { function provideBar (line 34) | func provideBar() *Bar { FILE: internal/wire/testdata/ImportedInterfaceBinding/bar/wire.go function injectFooer (line 24) | func injectFooer() foo.Fooer { FILE: internal/wire/testdata/ImportedInterfaceBinding/foo/foo.go type Fooer (line 17) | type Fooer interface FILE: internal/wire/testdata/ImportedInterfaceBinding/want/wire_gen.go function injectFooer (line 15) | func injectFooer() foo.Fooer { FILE: internal/wire/testdata/InjectInput/foo/foo.go function main (line 23) | func main() { type Foo (line 27) | type Foo type Bar (line 28) | type Bar type FooBar (line 29) | type FooBar function provideBar (line 35) | func provideBar() Bar { function provideFooBar (line 39) | func provideFooBar(foo Foo, bar Bar) FooBar { FILE: internal/wire/testdata/InjectInput/foo/wire.go function injectFooBar (line 23) | func injectFooBar(foo Foo) FooBar { FILE: internal/wire/testdata/InjectInput/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar(foo Foo) FooBar { FILE: internal/wire/testdata/InjectInputConflict/foo/foo.go function main (line 23) | func main() { type Foo (line 30) | type Foo type Bar (line 31) | type Bar function provideFoo (line 37) | func provideFoo() Foo { function provideBar (line 41) | func provideBar(foo Foo) Bar { FILE: internal/wire/testdata/InjectInputConflict/foo/wire.go function injectBar (line 23) | func injectBar(foo Foo) Bar { FILE: internal/wire/testdata/InjectWithPanic/foo/foo.go function main (line 19) | func main() { function provideMessage (line 24) | func provideMessage() string { FILE: internal/wire/testdata/InjectWithPanic/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/InjectWithPanic/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/InjectorMissingCleanup/foo/foo.go function main (line 21) | func main() { type Foo (line 26) | type Foo function provideFoo (line 28) | func provideFoo() (Foo, func()) { FILE: internal/wire/testdata/InjectorMissingCleanup/foo/wire.go function injectFoo (line 23) | func injectFoo() Foo { FILE: internal/wire/testdata/InjectorMissingError/foo/foo.go function main (line 21) | func main() { type Foo (line 26) | type Foo function provideFoo (line 28) | func provideFoo() (Foo, error) { FILE: internal/wire/testdata/InjectorMissingError/foo/wire.go function injectFoo (line 23) | func injectFoo() Foo { FILE: internal/wire/testdata/InterfaceBinding/foo/foo.go function main (line 23) | func main() { type Fooer (line 27) | type Fooer interface type Bar (line 31) | type Bar method Foo (line 33) | func (b *Bar) Foo() string { function provideBar (line 37) | func provideBar() *Bar { FILE: internal/wire/testdata/InterfaceBinding/foo/wire.go function injectFooer (line 23) | func injectFooer() Fooer { FILE: internal/wire/testdata/InterfaceBinding/want/wire_gen.go function injectFooer (line 11) | func injectFooer() Fooer { FILE: internal/wire/testdata/InterfaceBindingDoesntImplement/foo/foo.go function main (line 21) | func main() { type Fooer (line 25) | type Fooer interface FILE: internal/wire/testdata/InterfaceBindingDoesntImplement/foo/wire.go function injectFooer (line 23) | func injectFooer() Fooer { FILE: internal/wire/testdata/InterfaceBindingInvalidArg0/foo/foo.go function main (line 21) | func main() { type Fooer (line 25) | type Fooer interface FILE: internal/wire/testdata/InterfaceBindingInvalidArg0/foo/wire.go function injectFooer (line 23) | func injectFooer() Fooer { FILE: internal/wire/testdata/InterfaceBindingNotEnoughArgs/foo/foo.go function main (line 21) | func main() { type Fooer (line 25) | type Fooer interface FILE: internal/wire/testdata/InterfaceBindingNotEnoughArgs/foo/wire.go function injectFooer (line 23) | func injectFooer() Fooer { FILE: internal/wire/testdata/InterfaceBindingReuse/foo/foo.go function main (line 25) | func main() { type Fooer (line 30) | type Fooer interface type Bar (line 34) | type Bar method Foo (line 41) | func (b *Bar) Foo() string { type FooBar (line 36) | type FooBar struct function provideBar (line 45) | func provideBar() *Bar { function provideFooBar (line 59) | func provideFooBar(fooer Fooer, bar *Bar) FooBar { FILE: internal/wire/testdata/InterfaceBindingReuse/foo/wire.go function injectFooBar (line 23) | func injectFooBar() FooBar { FILE: internal/wire/testdata/InterfaceBindingReuse/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar() FooBar { FILE: internal/wire/testdata/InterfaceValue/foo/foo.go function main (line 22) | func main() { FILE: internal/wire/testdata/InterfaceValue/foo/wire.go function injectedReader (line 26) | func injectedReader() io.Reader { FILE: internal/wire/testdata/InterfaceValue/want/wire_gen.go function injectedReader (line 16) | func injectedReader() io.Reader { FILE: internal/wire/testdata/InterfaceValueDoesntImplement/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/InterfaceValueDoesntImplement/foo/wire.go function injectedMessage (line 24) | func injectedMessage() string { FILE: internal/wire/testdata/InterfaceValueInvalidArg0/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/InterfaceValueInvalidArg0/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/InterfaceValueNotEnoughArgs/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/InterfaceValueNotEnoughArgs/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/InvalidInjector/foo/foo.go function main (line 21) | func main() { type Foo (line 28) | type Foo type Bar (line 29) | type Bar function provideFoo (line 31) | func provideFoo() Foo { function provideBar (line 34) | func provideBar() Bar { FILE: internal/wire/testdata/InvalidInjector/foo/wire.go function injectFoo (line 23) | func injectFoo() Foo { function injectBar (line 29) | func injectBar() Bar { FILE: internal/wire/testdata/MultipleArgsSameType/foo/foo.go function main (line 21) | func main() { type Foo (line 25) | type Foo struct function provideFoo (line 29) | func provideFoo(a string) *Foo { FILE: internal/wire/testdata/MultipleArgsSameType/foo/wire.go function inject (line 23) | func inject(a, b string) *Foo { FILE: internal/wire/testdata/MultipleBindings/foo/foo.go type context (line 24) | type context struct function main (line 26) | func main() {} type Foo (line 28) | type Foo type Bar (line 29) | type Bar function provideFoo (line 35) | func provideFoo() Foo { function provideFooAgain (line 39) | func provideFooAgain() Foo { function provideBar (line 43) | func provideBar() Bar { FILE: internal/wire/testdata/MultipleBindings/foo/wire.go function inject (line 25) | func inject() Foo { function injectFromSet (line 30) | func injectFromSet() Foo { function injectFromNestedSet (line 35) | func injectFromNestedSet() Foo { function injectFromSetWithDuplicateBindings (line 40) | func injectFromSetWithDuplicateBindings() Foo { function injectDuplicateValues (line 45) | func injectDuplicateValues() Foo { function injectDuplicateInterface (line 50) | func injectDuplicateInterface() Bar { FILE: internal/wire/testdata/MultipleMissingInputs/foo/foo.go function main (line 19) | func main() { type Foo (line 25) | type Foo type Bar (line 26) | type Bar type Baz (line 27) | type Baz function provideBaz (line 29) | func provideBaz(foo Foo, bar Bar) Baz { type Zip (line 33) | type Zip type Zap (line 34) | type Zap type Zop (line 35) | type Zop function provideZip (line 37) | func provideZip(foo Foo) Zip { function provideZap (line 41) | func provideZap(zip Zip) Zap { function provideZop (line 45) | func provideZop(zap Zap) Zop { FILE: internal/wire/testdata/MultipleMissingInputs/foo/wire.go function injectMissingOutputType (line 23) | func injectMissingOutputType() Foo { function injectMultipleMissingTypes (line 29) | func injectMultipleMissingTypes() Baz { function injectMissingRecursiveType (line 35) | func injectMissingRecursiveType() Zop { FILE: internal/wire/testdata/MultipleSimilarPackages/bar/bar.go type Config (line 21) | type Config struct type Service (line 25) | type Service struct function New (line 30) | func New(cfg *Config, f *foo.Service) *Service { FILE: internal/wire/testdata/MultipleSimilarPackages/baz/baz.go type Config (line 21) | type Config struct type Service (line 25) | type Service struct function New (line 30) | func New(cfg *Config, b *bar.Service) *Service { FILE: internal/wire/testdata/MultipleSimilarPackages/foo/foo.go type Config (line 17) | type Config struct type Service (line 21) | type Service struct function New (line 25) | func New(cfg *Config) *Service { FILE: internal/wire/testdata/MultipleSimilarPackages/main/wire.go type MainConfig (line 28) | type MainConfig struct type MainService (line 34) | type MainService struct method String (line 40) | func (m *MainService) String() string { function newMainService (line 44) | func newMainService(MainConfig) *MainService { function main (line 60) | func main() { FILE: internal/wire/testdata/MultipleSimilarPackages/want/wire_gen.go function newMainService (line 18) | func newMainService(mainConfig MainConfig) *MainService { type MainConfig (line 35) | type MainConfig struct type MainService (line 41) | type MainService struct method String (line 47) | func (m *MainService) String() string { function main (line 51) | func main() { FILE: internal/wire/testdata/NamingWorstCase/foo/foo.go type context (line 23) | type context struct function main (line 25) | func main() { function provide (line 34) | func provide(ctx stdcontext.Context) (context, error) { FILE: internal/wire/testdata/NamingWorstCase/foo/wire.go function inject (line 25) | func inject(context stdcontext.Context, err struct{}) (context, error) { FILE: internal/wire/testdata/NamingWorstCase/want/wire_gen.go function inject (line 15) | func inject(context3 context2.Context, err2 struct{}) (context, error) { FILE: internal/wire/testdata/NamingWorstCaseAllInOne/foo/foo.go type context (line 31) | type context struct method Provide (line 57) | func (context) Provide() { function main (line 33) | func main() { function Provide (line 46) | func Provide(context2 stdcontext.Context) (context, error) { function inject (line 53) | func inject(context stdcontext.Context, err struct{}) (context, error) { FILE: internal/wire/testdata/NamingWorstCaseAllInOne/want/wire_gen.go function inject (line 18) | func inject(context3 context2.Context, err2 struct{}) (context, error) { type context (line 28) | type context struct method Provide (line 50) | func (context) Provide() { function main (line 30) | func main() { function Provide (line 43) | func Provide(context2_2 context2.Context) (context, error) { FILE: internal/wire/testdata/NiladicIdentity/foo/foo.go function main (line 19) | func main() { function provideMessage (line 24) | func provideMessage() string { FILE: internal/wire/testdata/NiladicIdentity/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/NiladicIdentity/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/NiladicValue/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/NiladicValue/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/NiladicValue/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/NoImplicitInterface/foo/foo.go function main (line 19) | func main() { type Fooer (line 23) | type Fooer interface type Bar (line 27) | type Bar method Foo (line 29) | func (b Bar) Foo() string { function provideBar (line 33) | func provideBar() Bar { FILE: internal/wire/testdata/NoImplicitInterface/foo/wire.go function injectFooer (line 23) | func injectFooer() Fooer { FILE: internal/wire/testdata/NoInjectParamNames/foo/foo.go type context (line 23) | type context struct function main (line 25) | func main() { function provide (line 34) | func provide(ctx stdcontext.Context) (context, error) { FILE: internal/wire/testdata/NoInjectParamNames/foo/wire.go function inject (line 28) | func inject(stdcontext.Context, struct{}) (context, error) { FILE: internal/wire/testdata/NoInjectParamNames/want/wire_gen.go function inject (line 15) | func inject(contextContext context2.Context, arg struct{}) (context, err... FILE: internal/wire/testdata/NoopBuild/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/PartialCleanup/foo/foo.go function main (line 28) | func main() { type Foo (line 38) | type Foo type Bar (line 39) | type Bar type Baz (line 40) | type Baz function provideFoo (line 42) | func provideFoo() (*Foo, func()) { function provideBar (line 48) | func provideBar(foo *Foo) (*Bar, func(), error) { function provideBaz (line 60) | func provideBaz(bar *Bar) (Baz, error) { FILE: internal/wire/testdata/PartialCleanup/foo/wire.go function injectBaz (line 23) | func injectBaz() (Baz, func(), error) { FILE: internal/wire/testdata/PartialCleanup/want/wire_gen.go function injectBaz (line 11) | func injectBaz() (Baz, func(), error) { FILE: internal/wire/testdata/PkgImport/bar/bar.go type Bar (line 17) | type Bar function ProvideBar (line 19) | func ProvideBar() Bar { FILE: internal/wire/testdata/PkgImport/foo/foo.go function main (line 24) | func main() { type Foo (line 28) | type Foo type FooBar (line 29) | type FooBar function provideFoo (line 36) | func provideFoo() Foo { function provideFooBar (line 40) | func provideFooBar(foo Foo, barVal bar.Bar) FooBar { FILE: internal/wire/testdata/PkgImport/foo/wire.go function injectFooBar (line 26) | func injectFooBar() FooBar { FILE: internal/wire/testdata/PkgImport/want/wire_gen.go function injectFooBar (line 20) | func injectFooBar() FooBar { FILE: internal/wire/testdata/ProviderSetBindingMissingConcreteType/foo/foo.go function main (line 23) | func main() { type fooer (line 27) | type fooer interface type foo (line 31) | type foo struct method Do (line 33) | func (f *foo) Do() string { function newFoo (line 37) | func newFoo() *foo { FILE: internal/wire/testdata/ProviderSetBindingMissingConcreteType/foo/wire.go function injectFoo (line 23) | func injectFoo() *foo { FILE: internal/wire/testdata/RelativePkg/foo/foo.go function main (line 19) | func main() { function provideMessage (line 24) | func provideMessage() string { FILE: internal/wire/testdata/RelativePkg/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/RelativePkg/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/ReservedKeywords/foo/foo.go function main (line 21) | func main() { type Interface (line 26) | type Interface type Select (line 27) | type Select function provideInterface (line 29) | func provideInterface(s Select) Interface { function provideSelect (line 33) | func provideSelect() Select { FILE: internal/wire/testdata/ReservedKeywords/foo/wire.go function injectInterface (line 28) | func injectInterface() Interface { FILE: internal/wire/testdata/ReservedKeywords/want/wire_gen.go function injectInterface (line 11) | func injectInterface() Interface { FILE: internal/wire/testdata/ReturnArgumentAsInterface/foo/foo.go function main (line 19) | func main() { type MyString (line 23) | type MyString method String (line 25) | func (s MyString) String() string { return string(s) } FILE: internal/wire/testdata/ReturnArgumentAsInterface/foo/wire.go function injectStringer (line 25) | func injectStringer(s MyString) fmt.Stringer { FILE: internal/wire/testdata/ReturnArgumentAsInterface/want/wire_gen.go function injectStringer (line 15) | func injectStringer(s MyString) fmt.Stringer { FILE: internal/wire/testdata/ReturnError/foo/foo.go function main (line 25) | func main() { type Foo (line 35) | type Foo function provideFoo (line 37) | func provideFoo() (Foo, error) { FILE: internal/wire/testdata/ReturnError/foo/wire.go function injectFoo (line 23) | func injectFoo() (Foo, error) { FILE: internal/wire/testdata/ReturnError/want/wire_gen.go function injectFoo (line 11) | func injectFoo() (Foo, error) { FILE: internal/wire/testdata/Struct/foo/foo.go function main (line 24) | func main() { type Foo (line 31) | type Foo type Bar (line 32) | type Bar type FooBar (line 34) | type FooBar struct function provideFoo (line 40) | func provideFoo() Foo { function provideBar (line 44) | func provideBar() Bar { FILE: internal/wire/testdata/Struct/foo/wire.go function injectFooBar (line 23) | func injectFooBar() FooBar { function injectPartFooBar (line 28) | func injectPartFooBar() FooBar { FILE: internal/wire/testdata/Struct/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar() FooBar { function injectPartFooBar (line 21) | func injectPartFooBar() FooBar { FILE: internal/wire/testdata/StructNotAStruct/foo/foo.go function main (line 21) | func main() { type A (line 25) | type A struct FILE: internal/wire/testdata/StructNotAStruct/foo/wire.go function inject (line 23) | func inject(a A) string { FILE: internal/wire/testdata/StructPointer/foo/foo.go function main (line 23) | func main() { type Foo (line 29) | type Foo type Bar (line 30) | type Bar type FooBar (line 32) | type FooBar struct type Empty (line 37) | type Empty struct function provideFoo (line 39) | func provideFoo() Foo { function provideBar (line 43) | func provideBar() Bar { FILE: internal/wire/testdata/StructPointer/foo/wire.go function injectFooBar (line 23) | func injectFooBar() *FooBar { function injectEmptyStruct (line 28) | func injectEmptyStruct() *Empty { FILE: internal/wire/testdata/StructPointer/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar() *FooBar { function injectEmptyStruct (line 21) | func injectEmptyStruct() *Empty { FILE: internal/wire/testdata/StructWithPreventTag/foo/foo.go function main (line 24) | func main() { type Foo (line 29) | type Foo type FooBar (line 31) | type FooBar struct function provideFoo (line 36) | func provideFoo() Foo { function provideMutex (line 40) | func provideMutex() sync.Mutex { FILE: internal/wire/testdata/StructWithPreventTag/foo/wire.go function injectPartFooBar (line 23) | func injectPartFooBar() FooBar { FILE: internal/wire/testdata/TwoDeps/foo/foo.go function main (line 23) | func main() { type Foo (line 27) | type Foo type Bar (line 28) | type Bar type FooBar (line 29) | type FooBar function provideFoo (line 31) | func provideFoo() Foo { function provideBar (line 35) | func provideBar() Bar { function provideFooBar (line 39) | func provideFooBar(foo Foo, bar Bar) FooBar { FILE: internal/wire/testdata/TwoDeps/foo/wire.go function injectFooBar (line 23) | func injectFooBar() FooBar { FILE: internal/wire/testdata/TwoDeps/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar() FooBar { FILE: internal/wire/testdata/UnexportedStruct/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/UnexportedStruct/foo/wire.go function injectedBar (line 24) | func injectedBar() string { FILE: internal/wire/testdata/UnexportedValue/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/UnexportedValue/foo/wire.go function injectedMessage (line 24) | func injectedMessage() string { FILE: internal/wire/testdata/UnusedProviders/foo/foo.go function main (line 23) | func main() { type Foo (line 27) | type Foo method Foo (line 49) | func (f *Foo) Foo() string { type Bar (line 28) | type Bar type Unused (line 29) | type Unused type UnusedInSet (line 30) | type UnusedInSet type OneOfTwo (line 31) | type OneOfTwo type TwoOfTwo (line 32) | type TwoOfTwo type FooBar (line 34) | type FooBar struct type Fooer (line 45) | type Fooer interface function provideFoo (line 53) | func provideFoo() *Foo { function provideBar (line 59) | func provideBar(foo *Foo, one OneOfTwo) Bar { function provideUnused (line 63) | func provideUnused() Unused { function provideUnusedInSet (line 67) | func provideUnusedInSet() UnusedInSet { function provideOneOfTwo (line 71) | func provideOneOfTwo() OneOfTwo { function provideTwoOfTwo (line 75) | func provideTwoOfTwo() TwoOfTwo { type S (line 79) | type S struct type Config (line 83) | type Config FILE: internal/wire/testdata/UnusedProviders/foo/wire.go function injectFooBar (line 23) | func injectFooBar() FooBar { FILE: internal/wire/testdata/ValueChain/foo/foo.go function main (line 23) | func main() { type Foo (line 27) | type Foo type FooBar (line 28) | type FooBar function provideFooBar (line 34) | func provideFooBar(foo Foo) FooBar { FILE: internal/wire/testdata/ValueChain/foo/wire.go function injectFooBar (line 23) | func injectFooBar() FooBar { FILE: internal/wire/testdata/ValueChain/want/wire_gen.go function injectFooBar (line 11) | func injectFooBar() FooBar { FILE: internal/wire/testdata/ValueConversion/foo/foo.go function main (line 19) | func main() { type Foo (line 23) | type Foo FILE: internal/wire/testdata/ValueConversion/foo/wire.go function injectedMessage (line 23) | func injectedMessage() Foo { FILE: internal/wire/testdata/ValueConversion/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() Foo { FILE: internal/wire/testdata/ValueFromFunctionScope/foo/foo.go type foo (line 21) | type foo struct type bar (line 25) | type bar struct function newBar (line 29) | func newBar(v int) *bar { function main (line 33) | func main() { FILE: internal/wire/testdata/ValueFromFunctionScope/foo/wire.go function injectBar (line 23) | func injectBar(f *foo) *bar { FILE: internal/wire/testdata/ValueIsInterfaceValue/foo/foo.go function main (line 23) | func main() { FILE: internal/wire/testdata/ValueIsInterfaceValue/foo/wire.go function injectedReader (line 26) | func injectedReader(r *strings.Reader) io.Reader { FILE: internal/wire/testdata/ValueIsStruct/foo/foo.go function main (line 21) | func main() { type Foo (line 26) | type Foo struct FILE: internal/wire/testdata/ValueIsStruct/foo/wire.go function injectFoo (line 23) | func injectFoo() Foo { FILE: internal/wire/testdata/ValueIsStruct/want/wire_gen.go function injectFoo (line 11) | func injectFoo() Foo { FILE: internal/wire/testdata/VarValue/foo/foo.go function main (line 19) | func main() { FILE: internal/wire/testdata/VarValue/foo/wire.go function injectedMessage (line 23) | func injectedMessage() string { FILE: internal/wire/testdata/VarValue/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage() string { FILE: internal/wire/testdata/Varargs/foo/foo.go function main (line 22) | func main() { type title (line 26) | type title function provideMessage (line 29) | func provideMessage(words ...string) string { FILE: internal/wire/testdata/Varargs/foo/wire.go function injectedMessage (line 23) | func injectedMessage(t title, lines ...string) string { FILE: internal/wire/testdata/Varargs/want/wire_gen.go function injectedMessage (line 11) | func injectedMessage(t title, lines ...string) string { FILE: internal/wire/wire.go type GenerateResult (line 42) | type GenerateResult struct method Commit (line 56) | func (gen GenerateResult) Commit() error { type GenerateOptions (line 64) | type GenerateOptions struct function Generate (line 83) | func Generate(ctx context.Context, wd string, env []string, patterns []s... function detectOutputDir (line 124) | func detectOutputDir(paths []string) (string, error) { function generateInjectors (line 138) | func generateInjectors(g *gen, pkg *packages.Package) (injectorFiles []*... function copyNonInjectorDecls (line 203) | func copyNonInjectorDecls(g *gen, files []*ast.File, info *types.Info) { type importInfo (line 234) | type importInfo struct type gen (line 243) | type gen struct method frame (line 261) | func (g *gen) frame(tags string) []byte { method inject (line 311) | func (g *gen) inject(pos token.Pos, name string, sig *types.Signature,... method rewritePkgRefs (line 398) | func (g *gen) rewritePkgRefs(info *types.Info, node ast.Node) ast.Node { method writeAST (line 514) | func (g *gen) writeAST(info *types.Info, node ast.Node) { method qualifiedID (line 521) | func (g *gen) qualifiedID(pkgName, pkgPath, sym string) string { method qualifyImport (line 529) | func (g *gen) qualifyImport(name, path string) string { method nameInFileScope (line 554) | func (g *gen) nameInFileScope(name string) bool { method qualifyPkg (line 569) | func (g *gen) qualifyPkg(pkg *types.Package) string { method p (line 573) | func (g *gen) p(format string, args ...interface{}) { function newGen (line 251) | func newGen(pkg *packages.Package) *gen { type injectorGen (line 578) | type injectorGen struct method funcProviderCall (line 672) | func (ig *injectorGen) funcProviderCall(lname string, c *call, injectS... method structProviderCall (line 714) | func (ig *injectorGen) structProviderCall(lname string, c *call) { method valueExpr (line 733) | func (ig *injectorGen) valueExpr(lname string, c *call) { method fieldExpr (line 737) | func (ig *injectorGen) fieldExpr(lname string, c *call) { method nameInInjector (line 752) | func (ig *injectorGen) nameInInjector(name string) bool { method p (line 774) | func (ig *injectorGen) p(format string, args ...interface{}) { function injectPass (line 593) | func injectPass(name string, sig *types.Signature, calls []call, set *Pr... function zeroValue (line 783) | func zeroValue(t types.Type, qf types.Qualifier) string { function typeVariableName (line 813) | func typeVariableName(t types.Type, defaultName string, transform func(s... function unexport (line 856) | func unexport(name string) string { function export (line 889) | func export(name string) string { function disambiguate (line 907) | func disambiguate(name string, collides func(string) bool) string { function accessibleFrom (line 927) | func accessibleFrom(info *types.Info, node ast.Node, wantPkg string) err... FILE: internal/wire/wire_test.go function TestWire (line 38) | func TestWire(t *testing.T) { function goBuildCheck (line 168) | func goBuildCheck(goToolPath, gopath string, test *testCase) error { function TestUnexport (line 197) | func TestUnexport(t *testing.T) { function TestExport (line 225) | func TestExport(t *testing.T) { function TestTypeVariableName (line 255) | func TestTypeVariableName(t *testing.T) { function TestDisambiguate (line 303) | func TestDisambiguate(t *testing.T) { function isIdent (line 334) | func isIdent(s string) bool { function scrubError (line 357) | func scrubError(gopath string, s string) string { function scrubLineColumn (line 397) | func scrubLineColumn(s string) (replacement string, n int) { type testCase (line 426) | type testCase struct method materialize (line 537) | func (test *testCase) materialize(gopath string) error { function loadTestCase (line 466) | func loadTestCase(root string, wireGoSrc []byte) (*testCase, error) { FILE: wire.go type ProviderSet (line 29) | type ProviderSet struct function NewSet (line 58) | func NewSet(...interface{}) ProviderSet { function Build (line 89) | func Build(...interface{}) string { type Binding (line 94) | type Binding struct function Bind (line 113) | func Bind(iface, to interface{}) Binding { constant bindToUsePointer (line 119) | bindToUsePointer = true type ProvidedValue (line 122) | type ProvidedValue struct function Value (line 130) | func Value(interface{}) ProvidedValue { function InterfaceValue (line 142) | func InterfaceValue(typ interface{}, x interface{}) ProvidedValue { type StructProvider (line 147) | type StructProvider struct function Struct (line 165) | func Struct(structType interface{}, fieldNames ...string) StructProvider { type StructFields (line 170) | type StructFields struct function FieldsOf (line 194) | func FieldsOf(structType interface{}, fieldNames ...string) StructFields {