Cleanup
This commit is contained in:
parent
dedc74f03d
commit
4d122c0540
|
@ -1,10 +1,10 @@
|
|||
package gobot
|
||||
|
||||
type Adaptor struct {
|
||||
Name string `json:"name"`
|
||||
Port string `json:"port"`
|
||||
Connected bool `json:"Connected"`
|
||||
Params map[string]interface{} `json:"params"`
|
||||
Name string
|
||||
Port string
|
||||
Connected bool
|
||||
Params map[string]interface{}
|
||||
}
|
||||
|
||||
type AdaptorInterface interface {
|
||||
|
|
|
@ -23,10 +23,10 @@ type JSONConnection struct {
|
|||
}
|
||||
|
||||
type connection struct {
|
||||
Name string `json:"-"`
|
||||
Type string `json:"-"`
|
||||
Adaptor AdaptorInterface `json:"-"`
|
||||
Robot *Robot `json:"-"`
|
||||
Name string
|
||||
Type string
|
||||
Adaptor AdaptorInterface
|
||||
Robot *Robot
|
||||
}
|
||||
|
||||
type connections []*connection
|
||||
|
|
Loading…
Reference in New Issue