Skip to content

Commit

Permalink
updating field names for 'Group'
Browse files Browse the repository at this point in the history
  • Loading branch information
VR authored and VR committed Dec 2, 2020
1 parent 9ff4531 commit 1a31ef3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions protocol/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ package protocol
import (
"errors"
"fmt"

"golang.org/x/net/context"
)

Expand Down Expand Up @@ -202,9 +203,10 @@ type FlashLightsResponse struct {
}

type Group struct {
GroupNumber uint8
Intensity uint8
Name string
Name string `json:"Name"`
GroupNumber uint8 `json:"Grp"`
Intensity uint8 `json:"Inten"`
Color uint8 `json:"Colr"`
}

type GroupListAddRequest struct {
Expand Down

0 comments on commit 1a31ef3

Please sign in to comment.