Files
2025-04-07 11:50:14 +08:00

23 lines
359 B
Go

package system
import (
"reflect"
"github.com/eolinker/go-common/autowire"
"github.com/eolinker/go-common/store"
)
type IAPIKeyStore interface {
store.ISearchStore[APIKey]
}
type imlAPIKeyStore struct {
store.SearchStore[APIKey]
}
func init() {
autowire.Auto[IAPIKeyStore](func() reflect.Value {
return reflect.ValueOf(new(imlAPIKeyStore))
})
}