/go-deque

A simple, generic and thread-safe deque implementation

Primary LanguageGoOtherNOASSERTION

go-deque

Build Status Go Reference Go Report Card codecov

A simple, generic, thread-safe implementation of double-ended queue in Go.

Installation

Install go-deque by executing the following command.

go get -v gopkg.in/dnaeon/go-deque.v1

Usage

See the included test cases for some examples.

Tests

Run the tests.

make test

License

go-deque is Open Source and licensed under the BSD License.