|
4 months ago | |
---|---|---|
.. | ||
README.md | 5 months ago | |
go.mod | 5 months ago | |
queue.go | 5 months ago | |
recur.go | 4 months ago | |
recur_test.go | 4 months ago | |
set.go | 5 months ago | |
stack.go | 5 months ago |
README.md
Basic Data Structures
These are basic implementations of standard data structures. They are not thread safe implementations. To avoid race conditions you would need to use a mutex (mutual exclusion lock) to lock the data structure before any reads or writes. The sync
package has a RWMutex
that can be used.