shellsafe

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(input string) (bool, error)

Validate checks if a string is safe to use in a shell without any escapes or redirects

func ValidateStructField

func ValidateStructField(value reflect.Value, tag string) (bool, error)

ValidateStructField validates a reflect.Value is shellsafe

Types

This section is empty.

Jump to

Keyboard shortcuts

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