go项目脚手架
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sorbet/internal/services/feature/controller/feature_content_chapter_con...

17 lines
418 B

1 year ago
package controller
import (
"github.com/labstack/echo/v4"
"sorbet/internal/entities"
"sorbet/internal/services/feature/request"
"sorbet/pkg/crud"
1 year ago
)
type FeatureContentChapterController struct {
crud.Controller[entities.FeatureContentChapter, request.FeatureContentChapterUpsertRequest]
1 year ago
}
func (f *FeatureContentChapterController) InitRoutes(r *echo.Group) {
f.RegisterRoutes("/feature/content/chapters", r)
}