From 4b14f6640fe309605128e4284134587ea13737ab Mon Sep 17 00:00:00 2001 From: jeezft Date: Wed, 25 Mar 2026 20:53:02 +0300 Subject: [PATCH] Fix PrintGood.Cnt type: int -> float64 to match API response --- api/responses.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/responses.go b/api/responses.go index 6aef966..258e1a9 100644 --- a/api/responses.go +++ b/api/responses.go @@ -133,7 +133,7 @@ type PrintGood struct { Code2 string `json:"code2"` CodeA string `json:"code_a"` CodeAa []string `json:"code_aa"` - Cnt int `json:"cnt"` + Cnt float64 `json:"cnt"` Price float64 `json:"price"` Cost float64 `json:"cost"` CostAfterDisc float64 `json:"cost_after_disc"`