Documentation ¶ Index ¶ Variables type Data type DataOfT Constants ¶ This section is empty. Variables ¶ View Source var Expected string Functions ¶ This section is empty. Types ¶ type Data ¶ type Data struct { // AllowThis should be included. AllowThis string // String should be included. String DataOfT[string] // Int should be included. Int DataOfT[int] } Data should be included. type DataOfT ¶ type DataOfT[T string | int] struct { Field T } DataOfT is included in the output. Source Files ¶ View all Source files example.go Click to show internal directories. Click to hide internal directories.