Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Jun 16, 2014
1 parent dedc74f commit 4d122c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions adaptor.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d122c0

Please sign in to comment.