package
Version:
v0.0.0-...-f56615f
Opens a new window with list of versions in this module.
Published: Aug 2, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package userinput provides a blocking model tool backed by an interactive UI.
type Option struct {
Label string `json:"label"`
Description string `json:"description"`
}
type Question struct {
ID string `json:"id"`
Question string `json:"question"`
Options []Option `json:"options"`
}
type Request struct {
Questions []Question
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.