Open ineiti opened 8 years ago
@Liamsi wrote:
1) get rid of global vars, for instance: in measure.go and make sure that deployment and everything else still works (use functions & structs instead of global vars to communicate data across modules)
2) Find and understand pitfalls like this: What is the difference between: StopSink
and End
(both try to close a connection which is stored in a global var).
In other words: Refactor until you have a clear API and change tests to show how-to use this API.
Delete global variables