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

@ -8,7 +8,6 @@ import (
)
// A Packet is a packet
// +gen linkedlist
type Packet struct {
PacketNumber protocol.PacketNumber
PacketType protocol.PacketType