ide

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDE

type IDE interface {
	Install() error
}

type Option

type Option struct {
	// Name is the name of the IDE option
	Name string `json:"name,omitempty"`

	// Description is the description of the IDE option
	Description string `json:"description,omitempty"`

	// Default is the default value for this option
	Default string `json:"default,omitempty"`

	// Enum is the possible values for this option
	Enum []string `json:"enum,omitempty"`

	// ValidationPattern to use to validate this option
	ValidationPattern string `json:"validationPattern,omitempty"`

	// ValidationMessage to print if validation fails
	ValidationMessage string `json:"validationMessage,omitempty"`
}

type Options

type Options map[string]Option

func (Options) GetValue

func (o Options) GetValue(values map[string]config.OptionValue, key string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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