diff --git a/model/sensorconfig/SensorConfigConnection.go b/model/sensorconfig/SensorConfigConnection.go index 4ad1e93..f3e8135 100644 --- a/model/sensorconfig/SensorConfigConnection.go +++ b/model/sensorconfig/SensorConfigConnection.go @@ -8,5 +8,5 @@ type SensorConfigConnection struct { MetaPortTypeKey string `json:"metaPortTypeKey,omitempty"` Port json.Number `json:"port,omitempty"` MetaCryptoTypeKey string `json:"metaCryptoTypeKey,omitempty"` - credentials map[string]string `json:"credentials,omitempty"` + Credentials map[string]string `json:"credentials,omitempty"` } diff --git a/model/sensorconfig/SensorConfigItems.go b/model/sensorconfig/SensorConfigItems.go index 63d1e57..e8a108f 100644 --- a/model/sensorconfig/SensorConfigItems.go +++ b/model/sensorconfig/SensorConfigItems.go @@ -3,5 +3,5 @@ package sensorconfig import "git.loafle.net/overflow/commons-go/model/meta" type SensorConfigItems struct { - metaCollectionItems []*meta.MetaCollectionItem `json:"metaCollectionItems,omitempty"` + MetaCollectionItems []*meta.MetaCollectionItem `json:"metaCollectionItems,omitempty"` }