forked from quic-go/quic-go
12 lines
324 B
Markdown
12 lines
324 B
Markdown
# 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
|
|
```
|