graph: update comment of AddNode in NodeAdder interface
Now it follows the convention of golint, should users
copy the comment for their own concrete implementation.
MODIFY
graph/graph.go
graph/graph.go
@@ -130,7 +130,7 @@ type NodeAdder interface {
// arbitrary ID.
NewNode() Node
- // Adds a node to the graph. AddNode panics if
+ // AddNode adds a node to the graph. AddNode panics if
// the added node ID matches an existing node ID.
AddNode(Node)
}

graph: update comment of AddNode in NodeAdder interface (#774)

Now it follows the convention of golint, should users
copy the comment for their own concrete implementation.