Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: golang-github-jkeiser-iter  ]

Paket: golang-github-jkeiser-iter-dev (0.0~git20200628.c8aa0ae-2)

Links für golang-github-jkeiser-iter-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-jkeiser-iter herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Go library for iteration (library)

Generic forward-only iterator that is safe and leak-free.

This package is intended to support forward-only iteration in a variety of use cases while avoiding the normal errors and leaks that can happen with iterators in Go. It provides mechanisms for map/select filtering, background iteration through a goroutine, and error handling throughout.

The type of the iterator is interface{}, so it can store anything, at the cost that you have to cast it back out when you use it. This package can be used as is, or used as an example for creating your own forward-only iterators of more specific types.

golang-github-jkeiser-iter-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 6,3 kB27,0 kB [Liste der Dateien]