konimarti / opc

OPC DA client in Golang for monitoring and analyzing process data based on Windows COM.
MIT License
237 stars 85 forks source link

Suggest that Connection.Read should return map[string]Item rather than map[string]interface{} #6

Closed giter closed 5 years ago

giter commented 5 years ago

So that we can check timestamp, quality of each tag :)

konimarti commented 5 years ago

Valid suggestion. 99% of the time, I just needed the values and hence this was a convenient function to have. #7 changes the Connection interface to have Read() return a map[string]Item.