Add daily planning module
This commit is contained in:
@@ -26,6 +26,7 @@ const (
|
||||
OutdoorWindows ID = "outdoor_windows"
|
||||
TodayPlanning ID = "today_planning"
|
||||
TomorrowPlanning ID = "tomorrow_planning"
|
||||
DailyPlanning ID = "daily_planning"
|
||||
)
|
||||
|
||||
type ConfigItem struct {
|
||||
@@ -151,3 +152,4 @@ type SPCConvectiveDiscussionOptions struct{}
|
||||
type OutdoorWindowsOptions struct{}
|
||||
type TodayPlanningOptions struct{}
|
||||
type TomorrowPlanningOptions struct{}
|
||||
type DailyPlanningOptions struct{}
|
||||
|
||||
@@ -100,3 +100,11 @@ func TestSPCConvectiveModuleContractsAreStable(t *testing.T) {
|
||||
_ = SPCConvectiveOutlooksOptions{}
|
||||
_ = SPCConvectiveDiscussionOptions{}
|
||||
}
|
||||
|
||||
func TestDailyPlanningModuleContractIsStable(t *testing.T) {
|
||||
if DailyPlanning != ID("daily_planning") {
|
||||
t.Fatalf("DailyPlanning = %q, want stable module ID", DailyPlanning)
|
||||
}
|
||||
|
||||
_ = DailyPlanningOptions{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user