mirror of
https://github.com/elyby/chrly.git
synced 2024-11-30 02:32:19 +05:30
25 lines
464 B
Go
25 lines
464 B
Go
package ui
|
|
|
|
import (
|
|
"github.com/mono83/slf/wd"
|
|
"elyby/minecraft-skinsystem/repositories"
|
|
)
|
|
|
|
type uiService struct {
|
|
logger wd.Watchdog
|
|
skinsRepo repositories.SkinsRepository
|
|
capesRepo repositories.CapesRepository
|
|
}
|
|
|
|
func NewUiService(
|
|
logger wd.Watchdog,
|
|
skinsRepo repositories.SkinsRepository,
|
|
capesRepo repositories.CapesRepository,
|
|
) (*uiService, error) {
|
|
return &uiService{
|
|
logger: logger,
|
|
skinsRepo: skinsRepo,
|
|
capesRepo: capesRepo,
|
|
}, nil
|
|
}
|