From a77842dadc979bde8d99d89c60e28f742c8cd409 Mon Sep 17 00:00:00 2001 From: Sridhar Anandakrishnan Date: Thu, 3 Aug 2017 10:37:49 -0400 Subject: [PATCH] Fixed README examples - Fixed OrgHeaders call to reflect multiple value return - Changed call to Org to OrgCommon --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 0ff9a1c..b2247e9 100644 --- a/README.org +++ b/README.org @@ -31,7 +31,7 @@ To retreive the headers from a =[]byte=, call =OrgHeaders= and it will return a #+BEGIN_SRC go input := "#+title: goorgeous\n* Some Headline\n" - out := goorgeous.OrgHeaders(input) + out, _ := goorgeous.OrgHeaders(input) #+END_SRC #+BEGIN_SRC go @@ -46,7 +46,7 @@ After importing =github.com/chaseadamsio/goorgeous=, you can call =Org= with a = #+BEGIN_SRC go input := "#+TITLE: goorgeous\n* Some Headline\n" - out := goorgeous.Org(input) + out := goorgeous.OrgCommon([]byte(input)) #+END_SRC =out= will be: