Some updates
This commit is contained in:
34
vehicle.go
34
vehicle.go
@ -12,26 +12,26 @@ import (
|
||||
)
|
||||
|
||||
var parts = map[string]map[string][]string{
|
||||
"door": map[string][]string{
|
||||
"suffix": []string{"position", "status"},
|
||||
"position1": []string{"front", "rear", "boot", "enginehood"},
|
||||
"position2": []string{"right", "left"},
|
||||
"door": {
|
||||
"suffix": {"position", "status"},
|
||||
"position1": {"front", "rear", "boot", "enginehood"},
|
||||
"position2": {"right", "left"},
|
||||
},
|
||||
"window": map[string][]string{
|
||||
"suffix": []string{"status"},
|
||||
"position1": []string{"front", "rear", "sunroof"},
|
||||
"position2": []string{"right", "left"},
|
||||
"window": {
|
||||
"suffix": {"status"},
|
||||
"position1": {"front", "rear", "sunroof"},
|
||||
"position2": {"right", "left"},
|
||||
},
|
||||
"tire": map[string][]string{
|
||||
"prefix": []string{"status"},
|
||||
"position1": []string{"front", "rear"},
|
||||
"position2": []string{"right", "left"},
|
||||
"tire": {
|
||||
"prefix": {"status"},
|
||||
"position1": {"front", "rear"},
|
||||
"position2": {"right", "left"},
|
||||
},
|
||||
"tyre": map[string][]string{
|
||||
"prefix": []string{"pressure"},
|
||||
"suffix": []string{"psi", "unit"},
|
||||
"position1": []string{"front", "rear"},
|
||||
"position2": []string{"right", "left"},
|
||||
"tyre": {
|
||||
"prefix": {"pressure"},
|
||||
"suffix": {"psi", "unit"},
|
||||
"position1": {"front", "rear"},
|
||||
"position2": {"right", "left"},
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user