scope icon indicating copy to clipboard operation
scope copied to clipboard

get rid of MakeTopology()

Open rade opened this issue 8 years ago • 0 comments

func MakeTopology() Topology {
    return Topology{
        Nodes:    map[string]Node{},
        Controls: Controls{},
    }
}

We should just be able to write Topology{} at all the call sites. There is nothing intrinsically special about Nodes and Controls compared to all the other topology fields, though @paulbellamy thinks that they may not have valid nil values (yet).

rade avatar Jul 29 '16 11:07 rade