_interface

package
v0.0.0-...-f86eec2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func T_0

func T_0()

func T_1

func T_1()

*

  • 值接收者和指针接收者实现接口的区别
  • @see
  • @param

Types

type Animal

type Animal interface {
	Sayer
	Mover
}

type Cat

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

type Dog

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

type Mover

type Mover interface {
	// contains filtered or unexported methods
}

*********************************************************************************************************************

  _____             __   _____       _
 / ____|           / /  / ____|     | |
| |  __  ___      / /  | |  __  ___ | | __ _ _ __   __ _
| | |_ |/ _ \    / /   | | |_ |/ _ \| |/ _` | '_ \ / _` |
| |__| | (_) |  / /    | |__| | (_) | | (_| | | | | (_| |
 \_____|\___/  /_/      \_____|\___/|_|\__,_|_| |_|\__, |
                                                    __/ |
                                                   |___/

*********************************************************************************************************************

type Sayer

type Sayer interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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