fix(pkg/logfile): description for exported functions
This commit is contained in:
		| @@ -74,6 +74,8 @@ func ReadTemperatures(temperatureLogfile string) ([]*types.Temperature, error) { | ||||
| 	return temperatures, nil | ||||
| } | ||||
|  | ||||
| // ReadTemperaturesChannel reads temperatures from a channel until it is closed | ||||
| // and returns the temperature. | ||||
| func ReadTemperaturesChannel(temperatureChannel <-chan *types.Temperature) []*types.Temperature { | ||||
| 	temperatures := make([]*types.Temperature, 0) | ||||
| 	for { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user