testpkg

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var V1 int

Functions

func F1

func F1()

func F2

func F2[T any](T)

Types

type EmptyInterface

type EmptyInterface interface{}

type FunctionType1

type FunctionType1 func()

type GeneralInter1

type GeneralInter1 interface {
	~int
}

type GeneralInter2

type GeneralInter2 interface {
	int
}

type GeneralInter3

type GeneralInter3 interface {
	~int
	String() string
}

type GeneralInter4

type GeneralInter4 interface {
	int | uint
}

type GeneralInter5

type GeneralInter5 interface {
	FunctionType1
}

type GeneralInter6

type GeneralInter6 interface {
	F1(struct {
		A int
		B int
	})
	int | uint
	F2(struct {
		A int
		B int
	})
}

type GenericList

type GenericList[E any] []E

type Int1

type Int1 int

type Int2

type Int2 Int1

type Interface1

type Interface1 interface {
	Method()
}

type Interface2

type Interface2 interface {
	struct {
		A int
		B int
	}
	struct {
		A int
		B int
	}
}

type Interface3

type Interface3 interface {
	F1(struct {
		A int
		B int
	})
	F2(struct {
		A int
		B int
	})
}

type Receiver

type Receiver int

func (Receiver) F3

func (Receiver) F3()

type T1

type T1 GenericList[int]

type T2

type T2[E any] GenericList[E]

Jump to

Keyboard shortcuts

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