label_minor -> labelMinor, closer to all camelCase api

This commit is contained in:
Simon Howe
2016-10-19 10:50:11 +02:00
parent bec4d281c3
commit 2ca23507de
8 changed files with 9 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ type Connection struct {
ID string `json:"id"` // ID of this element in the UI. Must be unique for a given ConnectionsSummary.
NodeID string `json:"nodeId"` // ID of a node in the topology. Optional, must be set if linkable is true.
Label string `json:"label"`
LabelMinor string `json:"label_minor,omitempty"`
LabelMinor string `json:"labelMinor,omitempty"`
Linkable bool `json:"linkable"`
Metadata []report.MetadataRow `json:"metadata,omitempty"`
}

View File

@@ -45,7 +45,7 @@ type Column struct {
type NodeSummary struct {
ID string `json:"id"`
Label string `json:"label"`
LabelMinor string `json:"label_minor"`
LabelMinor string `json:"labelMinor"`
Rank string `json:"rank"`
Shape string `json:"shape,omitempty"`
Stack bool `json:"stack,omitempty"`