templatejuice

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Description: This package provides utilities to be utilized as functions in the Go HTML templates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DerefString

func DerefString(s *string) string

DerefString dereferences a string pointer.

func GenHubLink(serverURL, fileName string) string

GenHubLink generates a link based on the provided server URL and fileName and returns it.

If any errors occur during URL parsing, it panics to prevent template from being rendered.

Types

This section is empty.

Jump to

Keyboard shortcuts

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