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