package device // do sensor and methods import ( "sync" ) type RTDManager struct { // do sensor manager *Atlas *SensorManager sync.RWMutex } func NewRTDManager() *RTDManager { // atlas delays a := &Atlas{ CalDelay: 600, ReadDelay: 600, } sm := NewSensorManager() m := &RTDManager{ Atlas: a, SensorManager: sm, } return m } func (m *RTDManager) Start() error { return m.SensorManager.Start(m.Atlas.TakeReading) } func (m *RTDManager) String() string { // TODO return "" }