mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-12 18:11:34 +08:00
23 lines
355 B
Go
23 lines
355 B
Go
package log_source
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
"github.com/eolinker/go-common/store"
|
|
)
|
|
|
|
type ILogSourceStore interface {
|
|
store.IBaseStore[Log]
|
|
}
|
|
|
|
type storeLogSource struct {
|
|
store.Store[Log]
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[ILogSourceStore](func() reflect.Value {
|
|
return reflect.ValueOf(new(storeLogSource))
|
|
})
|
|
}
|