Movatterモバイル変換


[0]ホーム

URL:


package_mode

package
v0.6.0Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License:Apache-2.0Imports:3Imported by:0

Details

Repository

github.com/uber/mock

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAnimal

type Animal interface {EaterBreathe()Sleep(durationtime.Duration)}

typeCar

type Car[FuelTypefuel.Fuel] interface {Brand()stringFuelTank()cars.FuelTank[FuelType]Refuel(fuel FuelType, volumeint)error}

typeCounter

type Counter interface {int}

typeDriver

type Driver[FuelTypefuel.Fuel, CarTypeCar[FuelType]] interface {Wroom()errorDrive(car CarType)}

typeEarth

type Earth interface {AddHumans(HumansCount) []HumanHumanPopulation()HumansCount}

typeEater

type Eater interface {Eat(foods ...Food)}

typeFarmer

type Farmer interface {HumanDriver[fuel.Diesel,cars.FordF150]Do(work *Work)errorLivesInAVillage()}

typeFood

type Food interface {Calories()int}

typeHuman

type Human =Primate

typeHumansCount

type HumansCount =int

typePrimate

type PrimateAnimal

typeUrbanResident

type UrbanResident interface {HumanDriver[fuel.Gasoline,cars.HyundaiSolaris]Do(work *Work)errorLivesInACity()}

typeWork

type Work struct {Namestring}

Source Files

View all Source files

Directories

PathSynopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp