ui

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig() error

Types

type ConfigEntity

type ConfigEntity struct {
	Project  string            `json:"project" yaml:"project" mapstructure:"project"`
	Language string            `json:"language" yaml:"language" mapstructure:"language"`
	Database []*DatabaseEntity `json:"database" yaml:"database" mapstructure:"database"`
}

func NewCreate

func NewCreate() (*ConfigEntity, error)

type ConfigFormEntity

type ConfigFormEntity struct {
	// contains filtered or unexported fields
}

func (ConfigFormEntity) Init

func (model ConfigFormEntity) Init() tea.Cmd

func (ConfigFormEntity) Update

func (model ConfigFormEntity) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ConfigFormEntity) View

func (model ConfigFormEntity) View() string

type CreateFormModelEntity

type CreateFormModelEntity struct {
	Config *ConfigEntity
	// contains filtered or unexported fields
}

func (CreateFormModelEntity) Init

func (model CreateFormModelEntity) Init() tea.Cmd

func (CreateFormModelEntity) Update

func (model CreateFormModelEntity) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (CreateFormModelEntity) View

func (model CreateFormModelEntity) View() string

type DatabaseEntity

type DatabaseEntity struct {
	Type   string `json:"type" yaml:"type" mapstructure:"type"`
	DB     string `json:"db" yaml:"db" mapstructure:"db"`
	Url    string `json:"url" yaml:"url" mapstructure:"url"`
	Select bool   `json:"select" yaml:"select" mapstructure:"select"`
}

type GithubRepoVersion

type GithubRepoVersion struct {
	TagName string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL