_interface

package
v0.0.0-...-f0734c7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Age

func Age(a Ager) int

func DogAge

func DogAge(d Dog) int

func PeopleAge

func PeopleAge(p People) int

Types

type Ager

type Ager interface {
	Age() int
}

type Dog

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

func (*Dog) Age

func (p *Dog) Age() int

type People

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

func (*People) Age

func (p *People) Age() int

Jump to

Keyboard shortcuts

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