package schalter import "fmt" func (s *Schalter) stateString() string { if s.state { return fmt.Sprintf("%s is open", s.spaceName) } return fmt.Sprintf("%s is closed", s.spaceName) } func (s *Schalter) fetchState() bool { return false }