Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ConvertItemToString ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func InitializeModel ¶
func InitializeModel(req *model.GenerateRequest) *Model
type NavigationStep ¶
type NavigationStep int
const ( Goals NavigationStep = iota Language LanguageVersion OutputPath OpenaiApiKey OpenaiModel Loading End )
type Navigator ¶
type Navigator struct {
}
func NewNavigator ¶
func (*Navigator) Current ¶
func (n *Navigator) Current(pm *Model) NavigationStep
func (*Navigator) Next ¶
func (n *Navigator) Next(pm *Model) NavigationStep
type OpenaiModelInputModel ¶
func NewOpenaiModelInputModel ¶
func NewOpenaiModelInputModel() OpenaiModelInputModel
func (*OpenaiModelInputModel) Init ¶
func (m *OpenaiModelInputModel) Init()
func (*OpenaiModelInputModel) View ¶
func (m *OpenaiModelInputModel) View() string
type OpenaiModelItem ¶
type OpenaiModelItem string
func (OpenaiModelItem) FilterValue ¶
func (i OpenaiModelItem) FilterValue() string
type OutputPathInputModel ¶
func NewOutputPathInputModel ¶
func NewOutputPathInputModel() OutputPathInputModel
func (*OutputPathInputModel) Init ¶
func (m *OutputPathInputModel) Init()
func (*OutputPathInputModel) View ¶
func (m *OutputPathInputModel) View() string
Click to show internal directories.
Click to hide internal directories.