graph: clean up lint

This commit is contained in:
Dan Kortschak
2019-11-01 20:00:12 +10:30
parent cf4c2f75fb
commit 623f346311
9 changed files with 146 additions and 132 deletions

View File

@@ -114,7 +114,6 @@ func undirectedNamedIDGraphFrom(g []intset) graph.Graph {
type attrNode struct {
id int64
name string
attr []encoding.Attribute
}
@@ -248,8 +247,6 @@ func undirectedEdgeAttrGraphFrom(g []intset, attr map[edge][]encoding.Attribute)
type portedEdge struct {
from, to graph.Node
directed bool
fromPort string
fromCompass string
toPort string