fix: unused code

This commit is contained in:
2025-03-15 21:36:29 +07:00
parent a7c1c3ed1d
commit 25ee8c2003
2 changed files with 1 additions and 12 deletions

View File

@@ -1,7 +1,6 @@
package services
import (
"fmt"
"github.com/wailsapp/wails/v3/pkg/application"
)
@@ -18,12 +17,3 @@ var ExportedServices = []application.Service{
application.NewService(&WorkerService{}),
application.NewService(&WorkshopService{}),
}
func CreateServices(items ...any) []application.Service {
var services = make([]application.Service, len(items))
for i, item := range items {
services[i] = application.NewService(&item)
}
fmt.Printf("%#+v", services)
return services
}