This commit is contained in:
crusader 2018-03-26 16:12:03 +09:00
parent ed9e055620
commit 67900f9f2f
14 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package model
import "encoding/json" import "encoding/json"
type Config struct { type SensorConfig struct {
ID json.Number `json:"id,Number,omitempty"` ID json.Number `json:"id,Number,omitempty"`
Target *Target `json:"target,omitempty"` Target *Target `json:"target,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"` Schedule *Schedule `json:"schedule,omitempty"`