mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
21 lines
538 B
Go
21 lines
538 B
Go
package api_doc
|
|
|
|
import (
|
|
"context"
|
|
api_doc_dto "github.com/APIParkLab/APIPark/module/api-doc/dto"
|
|
"github.com/eolinker/go-common/autowire"
|
|
"reflect"
|
|
)
|
|
|
|
type IAPIDocModule interface {
|
|
UpdateDoc(ctx context.Context, serviceId string, input *api_doc_dto.UpdateDoc) (*api_doc_dto.ApiDocDetail, error)
|
|
GetDoc(ctx context.Context, serviceId string) (*api_doc_dto.ApiDocDetail, error)
|
|
}
|
|
|
|
func init() {
|
|
apiDocModule := new(imlAPIDocModule)
|
|
autowire.Auto[IAPIDocModule](func() reflect.Value {
|
|
return reflect.ValueOf(apiDocModule)
|
|
})
|
|
}
|