diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2014-02-17 15:59:43 -0500 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2014-02-17 15:59:43 -0500 |
commit | c85d881653e1d4fd0df675e0f8aaffa2806de483 (patch) | |
tree | 8342caa4f79e3cc4b9a683bba455951fd9db11d0 | |
parent | 79de4196673a7d880e08c1ba31fa8243004f9dbf (diff) |
Clarified comment.
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |