generics

package
v0.0.0-...-36a1f97 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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