Some changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 25s

This commit is contained in:
2025-05-31 19:55:53 -04:00
parent d07cfeb20c
commit d3c2badfcb
3 changed files with 143 additions and 145 deletions

View File

@ -1,6 +1,7 @@
package mysubaru
import (
"encoding/json"
"time"
"github.com/Jeffail/gabs/v2"
@ -8,10 +9,10 @@ import (
// Response .
type Response struct {
Success bool `json:"success"` // true | false
ErrorCode string `json:"errorCode,omitempty"` // string | Error message if Success is false
DataName string `json:"dataName"` // string | Describes the structure which is incleded in Data field
Data any `json:"data"` // Data struct
Success bool `json:"success"` // true | false
ErrorCode string `json:"errorCode,omitempty"` // string | Error message if Success is false
DataName string `json:"dataName"` // string | Describes the structure which is incleded in Data field
Data json.RawMessage `json:"data"` // Data struct
}
// Account .