Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ ConnectOutput
Method
ConnectOutput
components/adder.go:27–29 ·
view source on GitHub ↗
(b Component)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(a *Adder) ConnectOutput(b Component) {
28
a.next = b
29
}
30
31
func
(a *Adder) GetOutputWire(index int) bool {
32
return
a.outputs[index].Get()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected