checkinject

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	FieldName string
	Required  bool
	ValueName string
}

type DepGraph

type DepGraph struct {
	Nodes map[string]Node
}

func Collect

func Collect(root interface{}) DepGraph

func (*DepGraph) CheckMissing

func (d *DepGraph) CheckMissing() error

func (*DepGraph) GenerateDotFile

func (d *DepGraph) GenerateDotFile(file string, ignoreIfaces []interface{})

func (*DepGraph) PrintAll

func (d *DepGraph) PrintAll()

type Node

type Node struct {
	// Name is unique and based on package and struct type probably
	Name string

	Deps []Connection
}

Jump to

Keyboard shortcuts

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