forked from quic-go/quic-go
use a generic linked list (#3487)
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
# 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
|
||||
```
|
||||
(https://golang.org/src/container/list/list.go), modified to use Go generics.
|
||||
|
||||
Reference in New Issue
Block a user