mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
21 lines
358 B
Go
21 lines
358 B
Go
package strategy
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
"github.com/eolinker/go-common/store"
|
|
)
|
|
|
|
type IStrategyStore store.ISearchStore[Strategy]
|
|
|
|
type imlStrategyStore struct {
|
|
store.SearchStore[Strategy]
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[IStrategyStore](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlStrategyStore))
|
|
})
|
|
}
|