(ctx *gin.Context, project string)
| 28 | return c.module.Detail(ctx, project, id) |
| 29 | } |
| 30 | func (c *imlReleaseController) List(ctx *gin.Context, project string) ([]*dto.Release, error) { |
| 31 | return c.module.List(ctx, project) |
| 32 | } |
| 33 | func (c *imlReleaseController) Preview(ctx *gin.Context, project string) (*dto.Release, *service_diff.DiffOut, bool, error) { |
| 34 | releaseInfo, diff, complete, err := c.module.Preview(ctx, project) |
| 35 | if err != nil { |