This commit is contained in:
insanity 2018-07-02 21:08:57 +09:00
parent c1c401cf76
commit 904de16326

View File

@ -3,7 +3,7 @@ package sensorconfig
import "encoding/json" import "encoding/json"
type SensorConfig struct { type SensorConfig struct {
SensorID json.Number `json:"id,Number,omitempty"` SensorID json.Number `json:"sensorID,omitempty"`
Schedule *SensorConfigSchedule `json:"schedule,omitempty"` Schedule *SensorConfigSchedule `json:"schedule,omitempty"`
Crawler *SensorConfigCrawler `json:"crawler,omitempty"` Crawler *SensorConfigCrawler `json:"crawler,omitempty"`