change map to slice
This commit is contained in:
@@ -4,7 +4,7 @@ import "slices"
|
||||
|
||||
// bus model
|
||||
type Bus struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Address []uint `json:"address,omitempty"` // address of bus
|
||||
Topic *Topic `json:"topic,omitempty"` // address of bus
|
||||
}
|
||||
|
Reference in New Issue
Block a user