Skip to content

Commit

Permalink
Minor refactor moving the keyList struct to a private type
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcxa committed Jun 18, 2017
1 parent 3e71744 commit 7783b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type UnloadKeyRequest struct {
ID string `json:"id"`
}

type KeyList struct {
type keyList struct {
Keys []string `json:"keys"`
}

Expand Down Expand Up @@ -65,7 +65,7 @@ func (c *ClientConn) GetShared() ([]string, error) {
return nil, err
}

keys := &KeyList{}
keys := &keyList{}

err = ConvertFromGeneral(msg, keys)
if err != nil {
Expand Down

0 comments on commit 7783b6b

Please sign in to comment.