fix(pkg/logfile): description for exported functions
This commit is contained in:
parent
5f859139a4
commit
05cd62c624
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user