di-go/annotation/PreDestroy.go
2018-09-04 15:51:52 +09:00

20 lines
321 B
Go

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"`
}