From 7e60a20494f0f97a94b11d36dbd9ebecaad54fc6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 14 Jul 2014 12:10:26 -0700 Subject: [PATCH] digraph: fix docs --- digraph/graphviz.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/digraph/graphviz.go b/digraph/graphviz.go index cf0c4912f..db6952ebb 100644 --- a/digraph/graphviz.go +++ b/digraph/graphviz.go @@ -5,7 +5,7 @@ import ( "io" ) -// GenerateDot is used to emit a GraphViz compatible definition +// WriteDot is used to emit a GraphViz compatible definition // for a directed graph. It can be used to dump a .dot file. func WriteDot(w io.Writer, nodes []Node) error { w.Write([]byte("digraph {\n"))