test

package
v0.0.0-...-f3335f4 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTest

func RunTest()

Types

type A

type A struct {
	// contains filtered or unexported fields
}

type AA

type AA struct {
	Age  int
	Name string
	Aain AAin
}

type AAin

type AAin struct {
	Salary float32
}

type B

type B struct {
	// contains filtered or unexported fields
}

type C

type C struct {
	// contains filtered or unexported fields
}

type D

type D struct {
	// contains filtered or unexported fields
}

type E

type E struct {
	// contains filtered or unexported fields
}

type F

type F struct {
	// contains filtered or unexported fields
}

type Stack

type Stack[T int | []int] []T

测试从集合内外slice是否同1个 结论:不是同一个,集合中放入slice的指针

type Test14

type Test14 struct {
	// public属性
	Name string
}

func Constructor

func Constructor(name string) Test14

工厂模式创建类,静态工厂 public 方法

func (*Test14) ShowName

func (this *Test14) ShowName()

type W

type W struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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