mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-07 20:07:13 -06:00
design and impl BaseServiceRequest
This commit is contained in:
@@ -62,7 +62,7 @@ func Duration(hour, minute int) time.Duration {
|
||||
return TimeOfDay(hour, minute)
|
||||
}
|
||||
|
||||
type scheduleCallback func(Service, State)
|
||||
type scheduleCallback func(*Service, *State)
|
||||
|
||||
type schedule struct {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user