form

package
v0.0.0-...-2e32b89 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Form

type Form interface {
	Validate() errorlist.Errors
	String() string
}

type QuestionForm

type QuestionForm struct {
	Question string `schema:"question"`
	Model    string `schema:model`
	UUID     string `schema:uuid`
	ApiKey   string `schema:apikey`
}

func (*QuestionForm) String

func (me *QuestionForm) String() string

func (*QuestionForm) Validate

func (me *QuestionForm) Validate() errorlist.Errors

Jump to

Keyboard shortcuts

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