package service type StateService struct { } func (s *StateService) State() (bool, error) { return true, nil }