mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
23 lines
454 B
Go
23 lines
454 B
Go
package tag
|
|
|
|
import (
|
|
"context"
|
|
"reflect"
|
|
|
|
"github.com/APIParkLab/APIPark/service/universally"
|
|
"github.com/eolinker/go-common/autowire"
|
|
)
|
|
|
|
type ITagService interface {
|
|
universally.IServiceGet[Tag]
|
|
universally.IServiceDelete
|
|
universally.IServiceCreate[CreateTag]
|
|
Map(ctx context.Context, ids ...string) (map[string]*Tag, error)
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[ITagService](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlTagService))
|
|
})
|
|
}
|