Files
warmbly/internal/app/tz/service.go
T
2026-01-17 14:11:14 +00:00

20 lines
266 B
Go

package tz
type TzService interface {
Timezones() []TimezoneOption
}
type tzService struct {
client *Client
}
func NewService() TzService {
return &tzService{
client: NewTZ(),
}
}
func (s *tzService) Timezones() []TimezoneOption {
return s.client.Get()
}