trustmaster / goflow

Flow-based and dataflow programming library for Go (golang)
MIT License
1.61k stars 125 forks source link

Connect refactor to enable array ports #56

Closed trustmaster closed 4 years ago

trustmaster commented 4 years ago

Refactors the Connect logic to be less complex and more extensible/maintainable. This is required to as a first step to support new types of ports: Array ports and Map ports.

codecov-io commented 4 years ago

Codecov Report

Merging #56 into master will decrease coverage by 1.13%. The diff coverage is 86.31%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
- Coverage   91.11%   89.97%   -1.14%     
==========================================
  Files           6        6              
  Lines         315      349      +34     
==========================================
+ Hits          287      314      +27     
- Misses         17       22       +5     
- Partials       11       13       +2
Impacted Files Coverage Δ
graph.go 87.5% <100%> (ø) :arrow_up:
graph_connect.go 88.37% <84.7%> (-3.21%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 78574fa...31c6d42. Read the comment docs.