23 lines
398 B
Go
23 lines
398 B
Go
package service
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
oa "git.loafle.net/overflow/annotation-go"
|
|
od "git.loafle.net/overflow/di-go"
|
|
)
|
|
|
|
func init() {
|
|
od.RegisterType(MachineServiceType)
|
|
}
|
|
|
|
var MachineServiceType = reflect.TypeOf((*MachineService)(nil))
|
|
|
|
type MachineService struct {
|
|
oa.TypeAnnotation `annotation:"@Injectable('name': 'MachineService') @Service()"`
|
|
}
|
|
|
|
func (s *MachineService) Interfaces() {
|
|
|
|
}
|