lib

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bail

func Bail(err error)

func CryptoRandomToken

func CryptoRandomToken(length int) string

func GetBaseDirectory

func GetBaseDirectory() string

func MustParse

func MustParse(name string, tmpl string) *template.Template

Types

type Config

type Config struct {
	Port string `json:"port"`
}

func LoadConfig

func LoadConfig() *Config

Jump to

Keyboard shortcuts

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