added calendar from chap 10
This commit is contained in:
parent
810d704afb
commit
3ccf860ffc
6
playground/calendar.go
Normal file
6
playground/calendar.go
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// from chapter 10
|
||||||
|
package main
|
||||||
|
|
||||||
|
func calendar() {
|
||||||
|
|
||||||
|
}
|
@ -110,6 +110,12 @@ func main() {
|
|||||||
fuel()
|
fuel()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Calendar",
|
||||||
|
launchFunction: func() {
|
||||||
|
calendar()
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
menu := wmenu.NewMenu("Choose a program.")
|
menu := wmenu.NewMenu("Choose a program.")
|
||||||
menu.Action(func(opts []wmenu.Opt) error {
|
menu.Action(func(opts []wmenu.Opt) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user