testasset

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A struct {
	Name string `json:"name" desc:"Name of the person"`
}

type B

type B struct {
	Age int `json:"age"`
	A   *A
	T   *time.Time
}

type C

type C string

type D

type D int64

type E

type E float64

type Explain

type Explain struct {
	Example Example `json:"example"`
}

type F

type F bool

type H

type H map[string]Example

type I

type I []Example

type J

type J [2]string

type K added in v1.20.2

type K A

type L added in v1.20.2

type L = List

L Example is not allowed, since Example is interface, and interface cannot have methods implemented as Visitor pattern requires

type List added in v1.20.2

type List struct{}

List is a list of elements

type ListOf added in v1.20.2

type ListOf[T any] struct{}

type ListOf2 added in v1.20.2

type ListOf2[T1, T2 any] struct {
	Data   T1
	ListOf ListOf[T1] `json:"list_of"`
}

ListOf2 is a list of 2 elements

type M added in v1.20.2

type M List

type N added in v1.20.2

type N time.Duration

type O added in v1.20.2

type O ListOf[time.Duration]

type P added in v1.20.2

Jump to

Keyboard shortcuts

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