tableport

package module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToExcel added in v1.0.3

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL