src

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiUrl

type ApiUrl string

func (*ApiUrl) Parsed

func (u *ApiUrl) Parsed() (s string)

type SubstitutionFunc

type SubstitutionFunc func(key string, fragment string, url string, d *time.Time) string

SubstitutionFunc type used for signature mapping

key - the section of the url to be replaced: {month} | {month:-2}
fragment - would be the -2 in {month:-2}
url - the original url
d - current time

Jump to

Keyboard shortcuts

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