New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/whuhyw/container

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/whuhyw/container

  • v0.0.0-20200828011317-2ba5d64858b5
  • Source
  • Go
  • Socket score

Version published
Created
Source

container - Common Golang Data Structure

Build Status Go Report Card GoDoc

Go code (golang) set of packages that provide common data structure


Installation

To install container, use go get:

go get github.com/whuhyw/container

This will then make the following packages available to you:

github.com/whuhyw/container/stack
github.com/whuhyw/container/queue

Import the container/stack package into your code using this template:

package main

import (
  "github.com/whuhyw/container/stack"
)

func main() {
    s := stack.NewStack()
    
    s.Push("hello")
    if !s.Empty(){
        s.Pop()
    }
}

Staying up to date

To update container to the latest version, use go get -u github.com/whuhyw/container.


Contributing

Please feel free to submit issues, fork the repository and send pull requests!

When submitting an issue, we ask that you please include a complete test function that demonstrates the issue.


License

This project is licensed under the terms of the MIT license.

FAQs

Package last updated on 28 Aug 2020

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