NokiaTube | New address | Mode Phone | Off high quality for Nokia Browser
Skip to content

Reduce must return an interface to support multiple type #50

Closed

Description

@kubino

Hi I would like to use Reduce function but it seems that output result must be always float64, so no Map or Array or whatever else is supported? I am completely new to Go maybe I am missing something. Thank you for your help.

Activity

  1. thoas commented on Nov 8, 2018

    @thoas
    Owner

    You are right, it seems the Reduce has been done only for integer at the moment feel free to send a patch to support others operations.

  2. changed the title [-]Reduce must return float64 ?[/-] [+]Reduce must return an interface to support multiple type[/+] on Nov 8, 2018
  3. reetuparna commented on Jul 31, 2020

    @reetuparna
    Contributor

    Taking this up @thoas

  4. added 3 commits that reference this issue on Mar 10, 2021
  5. added a commit that references this issue on Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions