dates

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateText

func DateText(props DateTextProps, date time.Time) htmx.Node

DateText generates a date text element based on the provided properties.

Types

type DateTextProps

type DateTextProps struct {
	// Format is a string that holds the format of a date
	Format string
}

DateTextProps is a struct that holds the properties of a date.

Jump to

Keyboard shortcuts

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