20 lines
336 B
Go
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"`
|
|
}
|