Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FieldInjector ¶
type FieldInjector struct {
// contains filtered or unexported fields
}
FieldInjector 具体某个字段的注射器
func (*FieldInjector) MakeAssignmentStatement ¶
func (inst *FieldInjector) MakeAssignmentStatement() string
MakeAssignmentStatement 创建注入语句
func (*FieldInjector) MakeGetterFunc ¶
func (inst *FieldInjector) MakeGetterFunc() string
MakeGetterFunc 创建 getter 函数
Click to show internal directories.
Click to hide internal directories.