graph/encoding/dot: run go fmt -s

This commit is contained in:
Dan Kortschak
2018-12-12 13:53:21 +10:30
parent bf83f2c3b8
commit c64a0a7fc7
2 changed files with 2 additions and 3 deletions

View File

@@ -140,7 +140,6 @@ type edge struct {
from, to int64 from, to int64
} }
func (p *simpleGraphPrinter) print(g graph.Graph, name string, needsIndent, isSubgraph bool) error { func (p *simpleGraphPrinter) print(g graph.Graph, name string, needsIndent, isSubgraph bool) error {
if name == "" { if name == "" {
if g, ok := g.(Graph); ok { if g, ok := g.(Graph); ok {