mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
23 lines
359 B
Go
23 lines
359 B
Go
package upstream
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
"github.com/eolinker/go-common/store"
|
|
)
|
|
|
|
type IUpstreamStore interface {
|
|
store.IBaseStore[Upstream]
|
|
}
|
|
|
|
type storeUpstream struct {
|
|
store.Store[Upstream]
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[IUpstreamStore](func() reflect.Value {
|
|
return reflect.ValueOf(new(storeUpstream))
|
|
})
|
|
}
|