package
0.5.2
Repository: https://github.com/confused-techie/gopage.git
Documentation: pkg.go.dev

# Functions

LastModifiedTime returns the ModTime of the requested string, assuming a relative path provided.
LogInjectionAvoidance will do basic sanitization of strings before being put into the log.
PathTraversalAvoidance will do basic sanitization of strings before returning for accessing the filesystem.
StringInSlice is a simple method to implement JS Array.prototype.includes().
WhichStringInSlice is a simple methhod to implement JS Array.prototype.findIndex() which will also return -1 if not found.