generics

package
v0.0.0-...-870605f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL