di-go/annotation/PostConstruct.go
2018-09-04 15:44:42 +09:00

20 lines
336 B
Go

package annotation
// @Inject(name? string)
import (
"reflect"
oa "git.loafle.net/overflow/annotation-go"
)
func init() {
oa.Register(PostConstructAnnotationType)
}
var PostConstructAnnotationType = reflect.TypeOf((*PostConstructAnnotation)(nil))
type PostConstructAnnotation struct {
oa.Annotation `@name:"@PostConstruct"`
}