rename Details to DEvice
This commit is contained in:
1 parent
10bc974d2d
commit
c377473675
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ package models
|
||||
// Device holds the structure for the device collection in mongo
|
||||
type Device struct {
|
||||
ID string `json:"_id" bson:"_id"` // MongoDB ID
|
||||
Details DeviceDetails `json:"device" bson:"Details"` // Details
|
||||
Details DeviceDetails `json:"device" bson:"Device"` // Details
|
||||
}
|
||||
|
||||
// Device holds the structure for the Device collection in mongo
|
||||
|
||||
Reference in new issue
Block a user