mirror of
https://github.com/tobiasehlert/teslamateapi.git
synced 2026-02-27 09:54:18 +08:00
changing TrimBadging from string to NullString
This commit is contained in:
@@ -13,12 +13,12 @@ func TeslaMateAPICars() (string, bool) {
|
||||
// creating structs for /cars
|
||||
// CarDetails struct - child of Cars
|
||||
type CarDetails struct {
|
||||
EID int64 `json:"eid"` // bigint
|
||||
VID int64 `json:"vid"` // bigint
|
||||
Vin string `json:"vin"` // text
|
||||
Model string `json:"model"` // character varying(255)
|
||||
TrimBadging string `json:"trim_badging"` // text
|
||||
Efficiency float64 `json:"efficiency"` // double precision
|
||||
EID int64 `json:"eid"` // bigint
|
||||
VID int64 `json:"vid"` // bigint
|
||||
Vin string `json:"vin"` // text
|
||||
Model string `json:"model"` // character varying(255)
|
||||
TrimBadging NullString `json:"trim_badging"` // text
|
||||
Efficiency float64 `json:"efficiency"` // double precision
|
||||
}
|
||||
// CarExterior struct - child of Cars
|
||||
type CarExterior struct {
|
||||
|
||||
Reference in New Issue
Block a user