base

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base added in v1.0.2

type Base struct {
	Window       *utils.Window
	Cfg          *config.Config
	TextInput    textinput.Model
	Conversation []*Message
}

func New added in v1.0.2

func New() (*Base, error)

type Message

type Message struct {
	Content string
	Speaker Speaker
}

type Speaker

type Speaker int
const (
	Bot Speaker = iota
	User
)

Jump to

Keyboard shortcuts

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