formatter

package
v0.0.0-...-e1057c5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Location defines the local timezone
	Location = "Europe/Berlin"
)

Functions

func FormatTimeWithUTCAndLocal

func FormatTimeWithUTCAndLocal(t time.Time) string

FormatTimeWithUTCAndLocal formats a given time as UTC and local time

func RenderMarkdownTable

func RenderMarkdownTable(header []string, data [][]string) (string, error)

RenderMarkdownTable renders the given data as a markdown table

Types

This section is empty.

Jump to

Keyboard shortcuts

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