uquic/internal/utils/linkedlist
2018-03-30 15:12:09 +07:00
..
linkedlist.go use Genny to generate typed lists, based on Go standard library code 2018-03-30 15:12:09 +07:00
README.md use Genny to generate typed lists, based on Go standard library code 2018-03-30 15:12:09 +07:00

Usage

This is the Go standard library implementation of a linked list (https://golang.org/src/container/list/list.go), modified such that genny (https://github.com/cheekybits/genny) can be used to generate a typed linked list.

To generate, run

genny -pkg $PACKAGE -in linkedlist.go -out $OUTFILE gen Item=$TYPE