Skip to content

Commit

Permalink
ParseBytes returns *cgraph.Graph and error
Browse files Browse the repository at this point in the history
  • Loading branch information
negbie authored Sep 26, 2020
1 parent aabab27 commit 737cb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ b, err := ioutil.ReadFile(path)
if err != nil {
log.Fatal(err)
}
graph := graphviz.ParseBytes(b)
graph, err := graphviz.ParseBytes(b)
```

## 3. Render Graph
Expand Down

0 comments on commit 737cb30

Please sign in to comment.