Return *Latex from NewLatexRenderer
Vytautas Ĺ altenis vytas@rtfb.lt
Wed, 27 Jul 2016 09:47:58 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
latex.go
→
latex.go
@@ -32,7 +32,7 @@ // satisfies the Renderer interface.
// // flags is a set of LATEX_* options ORed together (currently no such options // are defined). -func NewLatexRenderer(flags int) Renderer { +func NewLatexRenderer(flags int) *Latex { var writer bytes.Buffer return &Latex{ w: writer,