package
Version:
v0.3.5
Opens a new window with list of versions in this module.
Published: May 1, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Ring[T any] struct {
}
func NewRing[T any](n int, initValue func() T) *Ring[T]
func (r *Ring[T]) Value() T
Source Files
¶
Click to show internal directories.
Click to hide internal directories.