
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
Go code (golang) set of packages that provide common data structure
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()
}
}
To update container to the latest version, use go get -u github.com/whuhyw/container.
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.
This project is licensed under the terms of the MIT license.
FAQs
Unknown package
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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.