Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
3
type
Adder
interface
{ Add(a, b int32) int32 }
4
type
Subber
interface
{ Sub(a, b int32) int32 }
5
6
type
Mather
interface
{
7
Adder
Callers
nothing calls this directly
Implementers
2
Adder
chapter2_interfaces/direct_calls.go
Calculator
chapter2_interfaces/compound_interface
Calls
no outgoing calls
Tested by
no test coverage detected