Closed dominikbraun closed 1 year ago
At the moment, AddVertex calls in the documentation (README + GoDoc) look like this:
AddVertex
g.AddVertex(1, 2)
But AddVertex returns an error, and that should be made clear in the docs. The error should be ignored explicitly, just as with the AddEdge calls:
AddEdge
_ = g.AddVertex(1, 2)
Again, this should be done in both the README and the code comments.
Hi! Can I take this one?
Sure 🙂
At the moment,
AddVertex
calls in the documentation (README + GoDoc) look like this:But
AddVertex
returns an error, and that should be made clear in the docs. The error should be ignored explicitly, just as with theAddEdge
calls:Again, this should be done in both the README and the code comments.