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

3
.idea/workspace.xml generated
View File

@@ -5,8 +5,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="0f2c8145-9000-45fe-a871-9ff0914e0e13" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/internal/services/services.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/services/services.go" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

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
}