di-go/annotation/PreDestroy.go

20 lines
321 B
Go
Raw Normal View History

2018-09-04 06:51:52 +00:00
package annotation
// @Inject(name? string)
import (
"reflect"
oa "git.loafle.net/overflow/annotation-go"
)
func init() {
oa.Register(PreDestroyAnnotationType)
}
var PreDestroyAnnotationType = reflect.TypeOf((*PreDestroyAnnotation)(nil))
type PreDestroyAnnotation struct {
oa.Annotation `@name:"@PreDestroy"`
}