Add Models, Add Database
This commit is contained in:
parent
8f90344870
commit
faee833481
21 changed files with 407 additions and 1 deletions
7
entities/device/device.go
Normal file
7
entities/device/device.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package device
|
||||
|
||||
type Device struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Keys map[string]string `json:"keys,omitempty"`
|
||||
}
|
0
entities/device/deviceController.go
Normal file
0
entities/device/deviceController.go
Normal file
Loading…
Add table
Add a link
Reference in a new issue