design and impl BaseServiceRequest

This commit is contained in:
Sam Lewis
2022-10-12 01:14:32 -04:00
parent 4cf16d0d41
commit 7f9e346d34
6 changed files with 54 additions and 11 deletions

View File

@@ -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 {
/*