14 lines
324 B
Go
14 lines
324 B
Go
package annotation
|
|
|
|
import (
|
|
"git.loafle.net/commons_go/di"
|
|
)
|
|
|
|
type ComponentAnnotation struct {
|
|
Annotation
|
|
Name string
|
|
InitMethod string // func (receiver interface{}, cr ComponentRegistry) error
|
|
DestroyMethod string // func (receiver interface{}, cr ComponentRegistry) error
|
|
Scope di.ScopeType
|
|
}
|