MCPcopy
hub / github.com/teh-cmc/go-internals / Subber

Interface Subber

chapter2_interfaces/compound_interface.go:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3type Adder interface{ Add(a, b int32) int32 }
4type Subber interface{ Sub(a, b int32) int32 }
5
6type Mather interface {
7 Adder

Callers

nothing calls this directly

Implementers 2

Adderchapter2_interfaces/direct_calls.go
Calculatorchapter2_interfaces/compound_interface

Calls

no outgoing calls

Tested by

no test coverage detected