From 737cb309e6e1fc3baa6298aa68ca53ad0ad9cb62 Mon Sep 17 00:00:00 2001 From: Eugen Biegler Date: Sat, 26 Sep 2020 17:37:22 +0200 Subject: [PATCH] ParseBytes returns *cgraph.Graph and error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38f6907..77ae89b 100644 --- a/README.md +++ b/README.md @@ -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