mirror of
https://github.com/elyby/chrly.git
synced 2024-12-28 07:50:20 +05:30
26 lines
430 B
Go
26 lines
430 B
Go
package ui
|
|
|
|
import (
|
|
"elyby/minecraft-skinsystem/model"
|
|
|
|
"github.com/mono83/slf/wd"
|
|
)
|
|
|
|
type uiService struct {
|
|
logger wd.Watchdog
|
|
skinsRepo model.SkinsRepository
|
|
capesRepo model.CapesRepository
|
|
}
|
|
|
|
func NewUiService(
|
|
logger wd.Watchdog,
|
|
skinsRepo model.SkinsRepository,
|
|
capesRepo model.CapesRepository,
|
|
) (*uiService, error) {
|
|
return &uiService{
|
|
logger: logger,
|
|
skinsRepo: skinsRepo,
|
|
capesRepo: capesRepo,
|
|
}, nil
|
|
}
|