fix: unused code
This commit is contained in:
3
.idea/workspace.xml
generated
3
.idea/workspace.xml
generated
@@ -5,8 +5,7 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="0f2c8145-9000-45fe-a871-9ff0914e0e13" name="Changes" comment="">
|
<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$/internal/services/services.go" beforeDir="false" afterPath="$PROJECT_DIR$/internal/services/services.go" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package services
|
package services
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"github.com/wailsapp/wails/v3/pkg/application"
|
"github.com/wailsapp/wails/v3/pkg/application"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -18,12 +17,3 @@ var ExportedServices = []application.Service{
|
|||||||
application.NewService(&WorkerService{}),
|
application.NewService(&WorkerService{}),
|
||||||
application.NewService(&WorkshopService{}),
|
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
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user