Socket
Socket
Sign inDemoInstall

gopkg.in/qamarian-dtp/cart.v1

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gopkg.in/qamarian-dtp/cart.v1

This package implements the Cart abstract data type, a data type that could be used to collect items from around a program. For example: if you want to collect some items from some goroutines, you could create a Cart and pass its pointer to the goroutines. The goroutines can keep adding items to the cart, and when you are no longer interested in collecting new items, you can harvest the cart. Once you harvest the cart, no new item can be added to the cart. To prevent unauthorized routines from harvesting a cart, method harvest () can not be called directly on a cart. This is the reason why harvesting of a cart can only be done via the admin panel of the cart. Warning! When importing this package, import a specific version of the package because the master branch of its Github repository (https://github.com/qamarian-dtp/cart) is not guaranteed to be always backward compatible with older versions. Don't know how to import a specific version, you can read up the http://gopkg.in tool.


Version published

Readme

Source

cart: An implementation of the Cart ADT

This package implements the Cart abstract data type, a data type that could be used to collect items from around a program. See a more detailed documentation on GoDoc.

FAQs

Last updated on 20 Aug 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc