tests

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractDog

type AbstractDog struct {
	Sleep func()
}

func (*AbstractDog) Eat

func (this *AbstractDog) Eat()

func (*AbstractDog) Run

func (this *AbstractDog) Run()

type Akita

type Akita struct {
	AbstractDog
}

Akita 秋田犬

func NewAkita

func NewAkita() *Akita

func (*Akita) Sleep

func (this *Akita) Sleep()

type Labrador

type Labrador struct {
	AbstractDog
}

Labrador 拉布拉多犬

func NewLabrador

func NewLabrador() *Labrador

func (*Labrador) Sleep

func (this *Labrador) Sleep()

type Man

type Man struct {
	Person
}

func (*Man) Eat

func (this *Man) Eat()

func (*Man) Run

func (this *Man) Run()

type Person

type Person struct {
}

func (*Person) Eat

func (this *Person) Eat()

func (*Person) Run

func (this *Person) Run()

func (*Person) Sleep

func (this *Person) Sleep()

Jump to

Keyboard shortcuts

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