Files
spellbook/internal/models/models.go
T
abelith 478ac2fc7b chore
- application struct
2026-08-03 04:49:59 +05:00

32 lines
372 B
Go

package models
import (
"io"
"time"
)
type Spell struct {
Name string
Spell string
Tags []string
}
type SpellCast struct {
Spell Spell
Args map[string]string
Stdout io.Writer
Stderr io.Writer
}
type CastResult struct {
ExitCode int
Duration time.Duration
Meta map[string]any
}
type SearchQuery struct {
Cursor int
Limit int
Tags []string
}