list

package
v1.3.1-0...-9810bd5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param

type Param struct {
	parameter.Parameter `mapstructure:",squash"`

	Options      []huh.Option[string] `yaml:"options"       json:"options"       mapstructure:"options"`
	Height       *int                 `yaml:"height"        json:"height"        mapstructure:"height"`
	DefaultValue string               `yaml:"default_value" json:"default_value" mapstructure:"default_value"`
	Required     bool                 `yaml:"required"      json:"required"      mapstructure:"required"`
}

func (*Param) Render

func (p *Param) Render()

func (*Param) Validate

func (p *Param) Validate() []error

Jump to

Keyboard shortcuts

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