gobean

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 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 ElementField

type ElementField struct {
	Parent      *PopulateItem
	StructField reflect.StructField
	FieldValue  reflect.Value
	Wired       bool
	TagValue    string
	Index       int
}

func (*ElementField) FullName

func (elemField *ElementField) FullName(injectionTag string) string

type PopulateItem

type PopulateItem struct {
	Bean      interface{}
	BeanType  reflect.Type
	BeanValue reflect.Value
	// structPtr  bool
	Wired      bool
	Fields     []*ElementField
	WiredCount int
	Source     string
}

func New

func New(bean interface{}, skip int, injectionTag string) (*PopulateItem, error)

func (*PopulateItem) CheckIsWired

func (item *PopulateItem) CheckIsWired() bool

func (*PopulateItem) String

func (item *PopulateItem) String() string

Jump to

Keyboard shortcuts

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