Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotImplementedError = errors.New("[inject] interface is not implemented") InvalidObjectError = errors.New("[inject] invalid object") UnsupportedInjectionTypeError = errors.New("[inject] unsupported injection type") IllegalArgumentError = errors.New("[inject] input argument type can not be the same as receiver") TagIsAlreadyExistError = errors.New("[inject] tag is already exist") TagIsNilError = errors.New("[inject] tag is nil") InvalidTagNameError = errors.New("[inject] invalid tag name, e.g. exampleTag") )
Functions ¶
func IntoObject ¶
IntoObject injects instance into the tagged field with `inject:"instanceName"`
Types ¶
type BaseTag ¶ added in v0.3.0
type BaseTag struct {
// contains filtered or unexported fields
}
func (*BaseTag) IsSingleton ¶ added in v0.3.0
func (*BaseTag) ParseProperties ¶ added in v0.3.0
func (*BaseTag) Properties ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.