forked from quic-go/quic-go
use Genny to generate typed lists, based on Go standard library code
This commit is contained in:
11
internal/utils/linkedlist/README.md
Normal file
11
internal/utils/linkedlist/README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user