playground

module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2023 License: AGPL-3.0

README

My playground

This is a random collection of Go code snippets and utilities that I wrote.

Use at your own risk. No warranty, etc.

License disclaimer

The code in this repository is licensed under the terms of the GNU Affero General Public License. If you are foolish enough to use this code in your own project, and you release your project to the public, you must release your source code under the same license. This applies even if you only expose your project over the Internet ("network use is distribution").

Directories

Path Synopsis
Package batcher provides a timed batch middleware.
Package batcher provides a timed batch middleware.
Package chops provides useful channel operations that are not provided by the standard `<-` mechanism.
Package chops provides useful channel operations that are not provided by the standard `<-` mechanism.
Package counter counts occurrences of elements in slices and also returns their k most- or least-frequent elements.
Package counter counts occurrences of elements in slices and also returns their k most- or least-frequent elements.
Package doneq provides a first-in, first-out done queue.
Package doneq provides a first-in, first-out done queue.
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.
Package laminar manages goroutines that depend on each other, respecting dependency relationships and context cancellation.
Package laminar manages goroutines that depend on each other, respecting dependency relationships and context cancellation.
Package lmap provides an implementation of a linked map.
Package lmap provides an implementation of a linked map.
Package lru contains a simple implementation of a LRU cache.
Package lru contains a simple implementation of a LRU cache.
Package parallel provides higher-order functions that run in parallel.
Package parallel provides higher-order functions that run in parallel.
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL