converted to bubblewand framework
This commit is contained in:
parent
87a522daab
commit
719cb62c31
3 changed files with 142 additions and 4 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package tui
|
||||
|
||||
import (
|
||||
"context"
|
||||
"strconv"
|
||||
|
||||
"git.skdevstudios.com/SK-Development-Studios/go-cal-tui/internal/storage"
|
||||
|
|
@ -10,7 +9,7 @@ import (
|
|||
"github.com/charmbracelet/huh"
|
||||
)
|
||||
|
||||
func showEventForm(ctx context.Context, onSubmit func(storage.EventInput)) error {
|
||||
func showEventForm(onSubmit func(storage.EventInput)) error {
|
||||
var title, description, year, month, day, startHour, endHour, color string
|
||||
|
||||
form := huh.NewForm(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue