added calendar from chap 10

This commit is contained in:
John O'Keefe 2024-01-29 15:58:56 -05:00
parent 810d704afb
commit 3ccf860ffc
2 changed files with 12 additions and 0 deletions

6
playground/calendar.go Normal file
View File

@ -0,0 +1,6 @@
// from chapter 10
package main
func calendar() {
}

View File

@ -110,6 +110,12 @@ func main() {
fuel()
},
},
{
name: "Calendar",
launchFunction: func() {
calendar()
},
},
}
menu := wmenu.NewMenu("Choose a program.")
menu.Action(func(opts []wmenu.Opt) error {