Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gopkg.in/pijalu/mare.v0

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gopkg.in/pijalu/mare.v0

  • v0.0.0-20180324191415-59bd0b215d56
  • Go
  • Socket score

Version published
Created
Source

mare

MaRe is a simple in memory map/reduce package. It allows to perform M/R of slices or channels by providing a map and a reduce. the Map should return a key and value, stored the Reduce should reduce 2 values to a single one value.

Result is a map, with keys beeing the list of mapped keys and containing the values

interface

To allow a more generic use, this library uses interface{}.

Example

See mare_test.go for simple examples

FAQs

Package last updated on 24 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc