mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 03:07:20 +08:00
24 lines
379 B
Go
24 lines
379 B
Go
package php74
|
|
|
|
import (
|
|
"github.com/go-chi/chi/v5"
|
|
"github.com/leonelquinteros/gotext"
|
|
|
|
"github.com/acepanel/panel/internal/apps/php"
|
|
"github.com/acepanel/panel/internal/biz"
|
|
)
|
|
|
|
type App struct {
|
|
php *php.App
|
|
}
|
|
|
|
func NewApp(t *gotext.Locale, task biz.TaskRepo) *App {
|
|
return &App{
|
|
php: php.NewApp(t, task),
|
|
}
|
|
}
|
|
|
|
func (s *App) Route(r chi.Router) {
|
|
s.php.Route(74)(r)
|
|
}
|