learn_golang/datastructures
Drew Bednar cb83365a24 One branch recursion
..
README.md A little datastructures
go.mod Adding debugger notes
queue.go A little datastructures
recur.go One branch recursion
recur_test.go One branch recursion
set.go A little datastructures
stack.go A little datastructures

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.

Example of using Mutex