helper

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

FileExists checks whether a given file exists or not

func FormatDate

func FormatDate(t time.Time) string

FormatDate formats a time.Time into a string To be used in templates

func GetHeaderIfSet

func GetHeaderIfSet(r *http.Request, key string) (string, error)

GetHeaderIfSet returns the value of a given headers, if it exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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