MCPcopy Create free account
hub / github.com/egonelbre/exp / Run

Method Run

fbp/example/main.go:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63func NewLower() fbp.Node { return &Lower{} }
64func (node *Lower) Run() error {
65 defer close(node.Out)
66 for v := range node.In {
67 node.Out <- strings.ToLower(v)
68 }
69 return nil
70}
71
72type Upper struct{ In, Out chan string }
73

Callers

nothing calls this directly

Calls 1

closeFunction · 0.50

Tested by

no test coverage detected