Files
mlbstats/internal/statsapi/patch.go
2024-07-13 18:34:30 -05:00

21 lines
273 B
Go

package statsapi
type DiffPatchParams struct {
GamePk string
StartTimecode string
PushUpdateId string
}
type DiffPatchResponse []Patch
type Patch struct {
Diff []instruction
}
type instruction struct {
Op string
Path string
Value any
From string
}