This fork has been created to generate layered PDFs from particular SVG type of files.
Please use original library http://godoc.org/github.com/jung-kurt/gofpdf.
Package gofpdf implements a PDF document generator with high level support for text, drawing and images.
See the documentation for more details.