use Genny to generate typed lists, based on Go standard library code

This commit is contained in:
Marten Seemann
2018-03-30 14:52:11 +07:00
parent 51b9820084
commit 7346d12d6c
13 changed files with 309 additions and 80 deletions

View File

@@ -3,7 +3,6 @@ package utils
import "github.com/lucas-clemente/quic-go/internal/protocol"
// ByteInterval is an interval from one ByteCount to the other
// +gen linkedlist
type ByteInterval struct {
Start protocol.ByteCount
End protocol.ByteCount