helpers

package
v0.0.0-...-f137246 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(srcPath, destPath string) (err error)

CopyFile takes a source and destination file path and copies the file. Destination needs to be complete path of file, not a directory.

func FieldMap

func FieldMap() (fieldMap map[string]string)

FieldMap returns a mapping of field titles to pretty ones?

func TwitterClean

func TwitterClean(twitter string) (twitterClean string)

TwitterClean strips the @ symbol from a twitter username if it exists, and returns the string

func ValidateField

func ValidateField(input, field string) bool

ValidateField performs field validation for common types

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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