From c85d881653e1d4fd0df675e0f8aaffa2806de483 Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Mon, 17 Feb 2014 15:59:43 -0500 Subject: Clarified comment. --- fpdf.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fpdf.go b/fpdf.go index f81ef09..3350bb5 100644 --- a/fpdf.go +++ b/fpdf.go @@ -2122,6 +2122,8 @@ func (f *Fpdf) OutputAndClose(w io.WriteCloser) error { // OutputFileAndClose creates or truncates the file specified by fileStr and // writes the PDF document to it. This method will close f and the newly // written file, even if an error is detected and no document is produced. +// +// This function is demonstrated in tutorial 1. func (f *Fpdf) OutputFileAndClose(fileStr string) error { if f.err == nil { pdfFile, err := os.Create(fileStr) -- cgit v1.2.1-24-ge1ad