PreDestroy added

This commit is contained in:
crusader 2018-09-04 15:51:52 +09:00
parent d72db42216
commit 73771c29dd

19
annotation/PreDestroy.go Normal file
View File

@ -0,0 +1,19 @@
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"`
}