Skip to content
This repository was archived by the owner on Jul 19, 2026. It is now read-only.

ecnepsnai/ring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caution

github.com/ecnepsnai/ring is deprecated and replaced by git.ecn.io/ian/ring. All users should migrate to git.ecn.io/ian/ring for continued updates. Tag v1.0.0 is drop-in compatible copy of the last release of github.com/ecnepsnai/ring.

Ring

Go Report Card Godoc Releases LICENSE

Package ring is a threadsafe rotating slice. You define a maximum number of items and for each added item, it will fill the slice up to that max, then begin to wrap around the start of the slice.

Usage & Examples

Examples can be found on the documentation for the library

About

A threadsafe rotating array in golang

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages