func StripS3URL(URL string) (string, string) {
	bucketTmp := strings.Replace(URL, "s3://", "", -1)
	bucket := bucketTmp[:strings.IndexByte(bucketTmp, '/')]
	key := strings.TrimPrefix(URL, fmt.Sprintf("s3://%s/", bucket))
	return bucket, key
}
StripS3URL returns the bucket and the key from a s3 url location
package utils
import (
	"encoding/json"
	"fmt"
	"os"
	"strings"
)
func GetEnv(key, fallback string) string {
	if value, ok := os.LookupEnv(key); ok {
		return value
	}
	return fallback
}
func GetDefault(val, def string) string {
	if val != "" {
		return val
	}
	return def
}
func StringInSlice(str string, list []string) bool {
	for _, v := range list {
		if v == str {
			return true
		}
	}
	return false
}