MCPcopy Create free account
hub / github.com/cloud-native-go/examples / input

Struct input

ch04/chord.go:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21func Chord(sources ...<-chan int) <-chan []int {
22 type input struct { // Used to send inputs
23 idx, input int // between goroutines
24 }
25
26 dest := make(chan []int) // The output channel
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected