Set Package in Go

 | Preview Image | Coders' Compass Publishing

Introduction

This package is created for a demonstration.

It is a simple package that provides a finite set data structure in Go.

A generic set interface is provided, and an in-memory hash set implementation is included that uses a map as the underlying data structure.

Source Code

The source code is available on GitHub.

Installation

To install the package, run the following command:

go get -u coderscompass.org/set

The Book

If you are interested in learning more about set theory, you can check out our book that this package is based on: Set Theory for Beginners.