qr-scanner/models/result.go

15 lines
374 B
Go

package models
import "time"
type ScanResult struct {
Index int `json:"index"`
FilePath string `json:"file_path"`
Contents []string `json:"contents"`
Success bool `json:"success"`
ErrorCode string `json:"error_code,omitempty"`
ErrorMessage string `json:"error_message,omitempty"`
ProcessedAt time.Time `json:"processed_at"`
}