package fuel

import "go.uber.org/mock/mockgen/internal/tests/package_mode/fuel"

Index

Types

type Diesel

type Diesel struct{}

func (Diesel) EnergyCapacity

func (Diesel) EnergyCapacity() int

type Fuel

type Fuel interface {
	EnergyCapacity() int
	Diesel | Gasoline
}

type Gasoline

type Gasoline struct{}

func (Gasoline) EnergyCapacity

func (Gasoline) EnergyCapacity() int

Source Files

fuel.go

Version
v0.5.2 (latest)
Published
Apr 28, 2025
Platform
linux/amd64
Last checked
10 hours ago

Tools for package owners.