diff options
Diffstat (limited to 'internal/example')
| -rw-r--r-- | internal/example/example.go | 2 | ||||
| -rw-r--r-- | internal/example/example_test.go | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/internal/example/example.go b/internal/example/example.go index 90f861a..05e4827 100644 --- a/internal/example/example.go +++ b/internal/example/example.go @@ -36,7 +36,7 @@ func init() {  	gofpdf.SetDefaultCreationDate(time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC))  } -// Assign the relative path to the gofpdfDir directory based on current working +// setRoot assigns the relative path to the gofpdfDir directory based on current working  // directory  func setRoot() {  	wdStr, err := os.Getwd() diff --git a/internal/example/example_test.go b/internal/example/example_test.go index a779650..b985778 100644 --- a/internal/example/example_test.go +++ b/internal/example/example_test.go @@ -22,7 +22,7 @@ import (  	"github.com/jung-kurt/gofpdf/internal/example"  ) -// Test the Filename() and Summary() functions. +// ExampleFilename tests the Filename() and Summary() functions.  func ExampleFilename() {  	fileStr := example.Filename("example")  	example.Summary(errors.New("printer on fire"), fileStr) | 
