| 21 | var _ IAPIController = (*imlAPIController)(nil) |
| 22 | |
| 23 | type imlAPIController struct { |
| 24 | module ai_api.IAPIModule `autowired:""` |
| 25 | routerModule router.IRouterModule `autowired:""` |
| 26 | serviceModule service.IServiceModule `autowired:""` |
| 27 | transaction store.ITransaction `autowired:""` |
| 28 | } |
| 29 | |
| 30 | func (i *imlAPIController) Create(ctx *gin.Context, serviceId string, input *ai_api_dto.CreateAPI) (*ai_api_dto.API, error) { |
| 31 | _, err := i.serviceModule.Get(ctx, serviceId) |
nothing calls this directly
no outgoing calls
no test coverage detected