dequoter/models.go

17 lines
295 B
Go
Raw Normal View History

2025-09-06 01:26:54 +00:00
package main
type TextSpan struct {
Text string `json:"text"`
Pos int `json:"pos"`
Len int `json:"len"`
}
type ProcessTextRequest struct {
Action string `json:"action"`
Input []TextSpan `json:"input"`
}
type ProcessTextResponse struct {
Output []TextSpan `json:"output"`
}