func (m *Meter) currents() (float64, float64, float64, error) {
	var currents []float64
	for _, currentG := range m.currentsG {
		c, err := currentG()
		if err != nil {
			return 0, 0, 0, err
		}

		currents = append(currents, c)
	}

	return currents[0], currents[1], currents[2], nil
}
// currents implements the api.MeterCurrent interface
currents implements the api.MeterCurrent interface
// currents implements the api . MeterCurrent interface
func (m *Meter) currents() (float64, float64, float64, error) {
	var currents []float64
	for _, currentG := range m.currentsG {
		c, err := currentG()
		if err != nil {
			return 0, 0, 0, err
		}
		currents = append(currents, c)
	}
	return currents[0], currents[1], currents[2], nil
}
func ( m * Meter ) currents ( ) ( float64 , float64 , float64 , error ) { var currents [ ] float64 for _ , currentG := range m . currentsG { c , err := currentG ( ) if err != nil { return 0 , 0 , 0 , err } currents = append ( currents , c ) } return currents [ 0 ] , currents [ 1 ] , currents [ 2 ] , nil }
currents implements the api.MeterCurrent interface
currents implements the api . MeterCurrent interface