Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 874 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 874 Bytes

Go Report Card GoDoc

golang-set

Fork of deckarep's golang-set with generate code to make type-specific Sets, because I was sick of converting in and out of interfaces.

Comes with a bunch of sets based on basic types.

Doesn't support Cartesian Products or Power Sets yet.

Examples

To build

go build -o generate_set_exec ./generate_set

To generate a set for the time.Time object

./generate_set_exec -struct_name="time.Time" -import_path="time" -default_value="time.Time{}"

To generate a bunch of basic types

./generate_set_exec -make_defaults=`true`