Discover Packages
github.com/parsanoori/tableport
package
module
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Mar 5, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Simple table to PDF exporter in golang
This project aims to create a convinient solution to export tables (an array or slice of structs) in golang to a PDF file.
It utilizes gopdf for this purpose.
Expand ▾
Collapse ▴
Documentation
¶
func ToExcel(in interface{}) (res []byte , err error )
ToExcel converts a slice of structs to an Excel file and returns it as bytes.
func ToPDF(in interface{}) (res []byte , err error )
ToPDF converts a slice or an array of structs to a PDF table and gives the bytes of the PDF
Source Files
¶
Click to show internal directories.
Click to hide internal directories.