ui

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const AppDateTimeFormat string = "02-01-2006 15:04"

AppDateTimeFormat The format for date/times in the application.

View Source
const (
	// DarkGrey is the colour for Grey
	DarkGrey = "#989898"
)

Variables

This section is empty.

Functions

func RenderApplicationLink(entity, slug string) string

RenderApplicationLink will standardise the way we render application links.

func RenderHeading

func RenderHeading(heading string) string

RenderHeading will render a heading in the output.

func RenderHighlightedText added in v0.0.57

func RenderHighlightedText(text string) string

func RenderMoney

func RenderMoney(amount float64, currencyCode string) string

RenderMoney will return a symbolised string of money, e.g. £10.00

func RenderRecordCounter

func RenderRecordCounter(count, total int) string

RenderRecordCounter will render a common string to explain how many records are being shown out of the total collection. This will take care of pluralisation for you.

func RenderSectionMarker

func RenderSectionMarker() string

RenderSectionMarker will render a section marker in the output.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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