struct2html

package
v0.0.0-...-fa3ecad Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package struct2html provides a convenient way to convert Go structs or slices of structs into HTML table representations. These tables are designed to be responsive and email-friendly, making them suitable for use in automated email reporting systems, client communications, and any application that requires structured data to be presented in a clear, tabular format within an email.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StructToHTMLTable

func StructToHTMLTable(data interface{}) (string, error)

StructToHTMLTable takes a struct or a slice of structs and converts it into an email-friendly HTML table representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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