package
1.1.1
Repository: https://github.com/rtlnl/phoenix.git
Documentation: pkg.go.dev

# Functions

GetDefault returns def if the parameter val is empty.
GetEnv will set an env variable with a default if the variable is not found in the system.
IsStringEmpty checks if the input is empty.
RemoveElemFromSlice removes an element from the slice.
RemoveEmptyValueInSlice returns a slice without empty strings.
Response will return a response for the payload passed as argument.
ResponseError will return the error message.
SerializeObject returns the JSON string representation of the object.
StringInSlice checks if a string is found in a slice.
StripS3URL returns the bucket and the key from a s3 url location.

# Structs

RespError represents the response structu when an error occurs.