helpers

package
v0.0.0-...-a11cca7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package helpers contains view helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Markup

func Markup(s string) template.HTML

Markup converts text from projects into sanitized html

func RootURL

func RootURL() string

RootURL returns the root url

func TimeAgo

func TimeAgo(d time.Time) string

TimeAgo returns a string for a time in format x seconds ago

Types

This section is empty.

Jump to

Keyboard shortcuts

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