Version: v0.0.0-...-76d55bd Latest Latest

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

Go to latest
Published: Aug 17, 2020 License: Unlicense Imports: 8 Imported by: 0




This section is empty.


This section is empty.


func EnsureDir

func EnsureDir(fileName string) bool

EnsureDir checks a file could be written to a path, creates the directories as needed

func FileExists

func FileExists(filePath string) bool

FileExists returns whether a file exists

func GPFiles

func GPFiles(p string) (s []string)

GPFiles reads in the list of template files

func GetIP

func GetIP(s string) (ip, port string)

GetIP reads an IP from a string (this doesn't look to me like it is correctly written)

func MakeSlug

func MakeSlug(text string) string

MakeSlug slugifies a string. The result will only contain lowercase letters, digits and dashes. It will not begin or end with a dash, and it will not contain runs of multiple dashes.

It is NOT forced into being ASCII, but may contain any Unicode characters, with the above restrictions.


This section is empty.

Jump to

Keyboard shortcuts

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