Files
APIPark/stores/catalogue/store.go
T
2024-08-12 21:38:09 +08:00

23 lines
380 B
Go

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