data

package
v0.0.0-...-5a3b646 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDB

func CreateDB() error

Types

type Answer

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

type Data

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

func New

func New() Data

func (Data) Answer

func (d Data) Answer(prompt Prompt, answer int) error

func (Data) Ask

func (d Data) Ask() Prompt

func (Data) Close

func (d Data) Close() error

type Element

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

type Prompt

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

func (Prompt) Get

func (p Prompt) Get() Renderable

type Question

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

type Renderable

type Renderable struct {
	ElementTitle     string
	ElementDetails   string
	QuestionText     string
	QuestionIsBinary bool
}

Jump to

Keyboard shortcuts

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