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.
17 lines
351 B
17 lines
351 B
1 year ago
|
package controller
|
||
|
|
||
|
import (
|
||
|
"github.com/labstack/echo/v4"
|
||
|
"sorbet/internal/entities"
|
||
|
"sorbet/internal/services/feature/request"
|
||
|
"sorbet/internal/util"
|
||
|
)
|
||
|
|
||
|
type FeatureController struct {
|
||
|
util.Controller[entities.Feature, request.FeatureUpsertRequest]
|
||
|
}
|
||
|
|
||
|
func (f *FeatureController) InitRoutes(r *echo.Group) {
|
||
|
f.RegisterRoutes("/features", r)
|
||
|
}
|