href

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package href centralises the URL paths used in href attributes, as PageX() functions for pages and the Asset helper that prefixes "/static/". A path rename is then a 1-file change.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(p string) string

Asset returns the URL path for a static asset file (e.g. Asset("style.css") returns "/static/style.css").

func External

func External(url string) string

External returns url as-is. Kept as a function so call sites read the same as the rest of href, and to leave room for a runtime validation hook later.

func PageAlert

func PageAlert() string

func PageAura added in v0.2.0

func PageAura() string

func PageAutohide added in v0.4.0

func PageAutohide() string

func PageAvatar

func PageAvatar() string

func PageAvatars

func PageAvatars() string

func PageBadge

func PageBadge() string

func PageBoundary

func PageBoundary() string
func PageBreadcrumb() string

func PageBundleBuilder

func PageBundleBuilder() string

func PageButton

func PageButton() string

func PageButtonGroup

func PageButtonGroup() string

func PageCard

func PageCard() string

func PageCarousel

func PageCarousel() string

func PageCheckbox

func PageCheckbox() string

func PageClipcopy

func PageClipcopy() string

func PageColorField

func PageColorField() string

func PageCombobox

func PageCombobox() string

func PageComponents

func PageComponents() string

func PageContextMenu

func PageContextMenu() string

func PageDatalist

func PageDatalist() string

func PageDebug

func PageDebug() string

func PageDebugBorders

func PageDebugBorders() string

func PageDialog

func PageDialog() string

func PageDrawer

func PageDrawer() string

func PageElastic

func PageElastic() string

func PageFrameworks

func PageFrameworks() string

func PageGettingStarted

func PageGettingStarted() string

func PageIcon

func PageIcon() string

func PageIfNetwork added in v0.2.0

func PageIfNetwork() string

func PageIfPlatform added in v0.2.0

func PageIfPlatform() string

func PageIndex

func PageIndex() string

func PageInputGroup

func PageInputGroup() string

func PageKbd

func PageKbd() string

func PageKeys

func PageKeys() string

func PageLayout

func PageLayout() string

func PageLightbox

func PageLightbox() string
func PageLink() string
func PageMenu() string
func PageNavgroup() string

func PageOTP added in v0.5.0

func PageOTP() string

func PageOdometer added in v0.5.0

func PageOdometer() string

func PageOptgroup

func PageOptgroup() string

func PageOption

func PageOption() string

func PagePagination

func PagePagination() string

func PagePersist

func PagePersist() string

func PagePopover

func PagePopover() string

func PageProgress

func PageProgress() string

func PageProjectStatus

func PageProjectStatus() string

func PageRadioGroup

func PageRadioGroup() string

func PageRating

func PageRating() string

func PageResizable

func PageResizable() string

func PageRevealable

func PageRevealable() string

func PageSelect

func PageSelect() string

func PageServerDriven

func PageServerDriven() string

func PageSidebar

func PageSidebar() string

func PageSkeleton

func PageSkeleton() string

func PageSlider

func PageSlider() string

func PageSliderRange

func PageSliderRange() string

func PageSortable

func PageSortable() string

func PageSpinner

func PageSpinner() string

func PageSwitch

func PageSwitch() string

func PageTabs

func PageTabs() string

func PageTextInput

func PageTextInput() string

func PageTextarea

func PageTextarea() string

func PageTheming

func PageTheming() string

func PageToaster

func PageToaster() string

func PageToggle

func PageToggle() string

func PageToggleGroup

func PageToggleGroup() string

func PageTooltip

func PageTooltip() string

func PageTree

func PageTree() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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