mirror of
https://github.com/acepanel/helper.git
synced 2026-02-04 13:47:17 +08:00
20 lines
342 B
Go
20 lines
342 B
Go
//go:build wireinject
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/google/wire"
|
|
|
|
"github.com/acepanel/helper/internal/app"
|
|
"github.com/acepanel/helper/internal/service"
|
|
"github.com/acepanel/helper/internal/system"
|
|
)
|
|
|
|
func initHelper() (*app.Helper, error) {
|
|
panic(wire.Build(
|
|
system.ProviderSet,
|
|
service.ProviderSet,
|
|
app.ProviderSet,
|
|
))
|
|
}
|