| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
circlebuffer provides a modern circular buffer Go library with support for generics.
The circlebuffer package can be added to a project with go-get.
go get cattlecloud.net/go/circlebuffer@latestimport "cattlecloud.net/go/circlebuffer"buf := circlebuffer.New[string](1024)
buf.Insert("alice")
buf.Insert("bob")for item := range buf.All() {
// ...
}The cattlecloud.net/go/circlebuffer module is open source under the BSD license.
| Back | FazBrowse Home | New Git URL |