mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 16:29:17 +08:00
14 lines
289 B
Go
14 lines
289 B
Go
|
package business
|
||
|
|
||
|
import (
|
||
|
"github.com/1Panel-dev/1Panel/backend/app/service"
|
||
|
"github.com/1Panel-dev/1Panel/backend/global"
|
||
|
)
|
||
|
|
||
|
func Init() {
|
||
|
appService := service.AppService{}
|
||
|
if err := appService.SyncAppList(); err != nil {
|
||
|
global.LOG.Errorf("sync app error: %s", err.Error())
|
||
|
}
|
||
|
}
|