- application struct
This commit is contained in:
abelith committed 2026-08-03 04:49:59 +05:00
1 parent 7c1a49f457
commit 478ac2fc7b
3 files changed
+106

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
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
}