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